actions / actions/deploy-pages

False deprecation error for upload-artifact@v1 in deploy-pages@v4 workflow

Open
#403 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
953
Forks
143
Avg merge
35m
Merged PRs (30d)
1

Description

My GitHub Actions workflow is failing with the following error:

"This request has been automatically failed because it uses a deprecated version of 'actions/upload-artifact@v1'"

However, my workflow does not use upload-artifact@v1 at all. I am using only the latest @v4 versions of all relevant actions:

- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/upload-pages-artifact@v4
- uses: actions/deploy-pages@v4
I’ve confirmed that:

No other workflows or files reference upload-artifact@v1
All actions are up to date
GitHub Pages settings are correct
This appears to be a false positive or an internal dependency issue. Please investigate whether deploy-pages@v4 or another internal action is still referencing upload-artifact@v1.

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the supplied workflow and verify the reported failure while checking the action references named in the issue: actions/upload-pages-artifact@v4 and actions/deploy-pages@v4. Done means identifying the source of the upload-artifact@v1 reference and confirming the workflow succeeds without that deprecated dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.