Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug πŸ› v1.0.6 not compatible with action/deploy-pages v4 β€” isn't able to upgrade to node v20 #40

Closed
murtuzaalisurti opened this issue Jan 28, 2024 · 3 comments Β· Fixed by #41

Comments

@murtuzaalisurti
Copy link

I want to bump the action/deploy-pages version to v4 as it supports node 20 (actions/deploy-pages#256) but I am unable to do so because the current version of withastro/[email protected] is not compatible with it. I get this while running the workflow:

Fetching artifact metadata for "github-pages" in this workflow run
Found 0 artifact(s)
Error: Fetching artifact metadata failed. Is githubstatus.com reporting issues with API requests, Pages, or Actions? Please re-run the deployment at a later time.
Error: Error: No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/artifact@v4 or later.
    at getArtifactMetadata (/home/runner/work/_actions/actions/deploy-pages/v4.0.3/src/internal/api-client.js:85:1)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Deployment.create (/home/runner/work/_actions/actions/deploy-pages/v4.0.3/src/internal/deployment.js:66:1)
    at main (/home/runner/work/_actions/actions/deploy-pages/v4.0.3/src/index.js:30:1)
Error: Error: No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/artifact@v4 or later.

warning from github actions while using action/deploy-pages@v3:

[build](https://github.com/murtuzaalisurti/murtuzaalisurti.github.io/actions/runs/7684619378/job/20941330307)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
@irian-codes
Copy link

Yep, getting this warning too. Great PR, hopefully they'll accept it!

@basher
Copy link

basher commented Feb 20, 2024

Any updates?

I'm now unable to publish changes to my website, and cannot revert back to Node 16 as Github actions don't support it.

@murtuzaalisurti
Copy link
Author

resolved now!

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 a pull request may close this issue.

3 participants