Repository navigation
ci: update action version - #193
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions used by the CI workflows, and simplifies the release publishing workflow by switching from the deprecated actions/create-release + actions/upload-release-asset pattern to softprops/action-gh-release.
Changes:
- Bump
actions/checkoutfromv4tov6across workflows. - Bump
actions/upload-artifactfromv4tov7where artifacts are uploaded. - Replace release creation + per-asset uploads with a single
softprops/action-gh-releasestep usingfiles:.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/release.yml | Updates checkout version and migrates release publishing to softprops/action-gh-release with files:. |
| .github/workflows/contrib.yml | Updates checkout and artifact upload action versions for contrib CI. |
| .github/workflows/build.yml | Updates checkout and artifact upload action versions across build jobs. |
Comments suppressed due to low confidence (4)
.github/workflows/contrib.yml:54
actions/upload-artifact@v7may not be a valid major version (commonlyv4is the latest stable). Ifv7isn’t published, artifact uploads will fail; please verify the tag exists (or pin to a commit SHA) and update accordingly.
- uses: actions/upload-artifact@v7
with:
path: |
build/contrib.*.pdf
name: upload contrib artifacts
.github/workflows/build.yml:46
actions/upload-artifact@v7may not be a valid major version (commonlyv4is the latest stable). Ifv7isn’t published, artifact uploads will fail; please verify the tag exists (or pin to a commit SHA) and update accordingly.
- uses: actions/upload-artifact@v7
with:
path: |
build/build-*.pdf
build/cover.pdf
name: build-xelatex
name: upload build artifacts
.github/workflows/build.yml:73
actions/upload-artifact@v7may not be a valid major version (commonlyv4is the latest stable). Ifv7isn’t published, artifact uploads will fail; please verify the tag exists (or pin to a commit SHA) and update accordingly.
- uses: actions/upload-artifact@v7
with:
path: |
build/build-*.pdf
build/cover.pdf
name: build-lualatex
name: upload build artifacts
.github/workflows/build.yml:100
actions/upload-artifact@v7may not be a valid major version (commonlyv4is the latest stable). Ifv7isn’t published, artifact uploads will fail; please verify the tag exists (or pin to a commit SHA) and update accordingly.
- uses: actions/upload-artifact@v7
with:
path: |
src/build/distrib/tds/doc
src/build/distrib/tds/source
src/build/distrib/tds/tex
src/build/distrib/tds/sjtubeamer-online.zip
name: sjtubeamer.tds
name: upload build artifacts
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
升级 CI Actions 版本