Skip to content

Pin upload-pages-artifact to v5.0.0#6

Merged
pratyush618 merged 1 commit intomainfrom
fix/pages-artifact-version
Apr 11, 2026
Merged

Pin upload-pages-artifact to v5.0.0#6
pratyush618 merged 1 commit intomainfrom
fix/pages-artifact-version

Conversation

@pratyush618
Copy link
Copy Markdown
Contributor

Summary

The Pages deploy workflow was failing at Set up job with:

Error: Unable to resolve action `actions/upload-pages-artifact@v5`, unable to find version `v5`

Root cause

actions/upload-pages-artifact does not currently maintain a v5 major-version ref. Only the full semver tag v5.0.0 exists — no v5 git tag, no v5 branch. GitHub Actions resolution fails because @v5 has no target.

Audited all other actions via git ls-remote --tags + --heads: every other pin is fine.

Action Pin Resolves via
actions/checkout@v6 refs/tags/v6
pnpm/action-setup@v5 refs/tags/v5
actions/setup-node@v6 refs/tags/v6
github/codeql-action/{init,analyze}@v4 refs/tags/v4
actions/dependency-review-action@v4 refs/heads/v4 (branch)
actions/deploy-pages@v5 refs/tags/v5
actions/upload-pages-artifact@v5 no such ref

Fix

Pin to the exact semver that exists:

- - uses: actions/upload-pages-artifact@v5
+ - uses: actions/upload-pages-artifact@v5.0.0

Kept deploy-pages@v5 as-is. Dependabot (github-actions ecosystem, already configured) will propose bumps to v5.0.1/v5.1.0 as they ship, and to @v5 once the maintainers publish the major alias.

Test plan

  • Merge triggers Deploy docs portal to GitHub Pages
  • Set up job resolves upload-pages-artifact@v5.0.0 without error
  • build job completes → deploy job publishes → docs.byteveda.org serves the new portal

@pratyush618 pratyush618 merged commit d2e2e80 into main Apr 11, 2026
6 checks passed
@pratyush618 pratyush618 deleted the fix/pages-artifact-version branch April 11, 2026 14:16
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.

1 participant