Skip to content

ci: update action version - #193

Merged
LogCreative merged 4 commits into
mainfrom
logcreative-ciupdate
May 9, 2026
Merged

LogCreative merged 4 commits into
mainfrom
logcreative-ciupdate

Conversation

@LogCreative

Copy link
Copy Markdown
Member

升级 CI Actions 版本

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/checkout from v4 to v6 across workflows.
  • Bump actions/upload-artifact from v4 to v7 where artifacts are uploaded.
  • Replace release creation + per-asset uploads with a single softprops/action-gh-release step using files:.

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@v7 may not be a valid major version (commonly v4 is the latest stable). If v7 isn’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@v7 may not be a valid major version (commonly v4 is the latest stable). If v7 isn’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@v7 may not be a valid major version (commonly v4 is the latest stable). If v7 isn’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@v7 may not be a valid major version (commonly v4 is the latest stable). If v7 isn’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.

Comment thread .github/workflows/release.yml Resolved
Comment thread .github/workflows/release.yml Resolved
Comment thread .github/workflows/release.yml Resolved
@LogCreative
LogCreative enabled auto-merge (squash) May 9, 2026 02:22
@LogCreative
LogCreative merged commit 6b8c6e7 into main May 9, 2026
4 checks passed
@LogCreative
LogCreative deleted the logcreative-ciupdate branch May 9, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants