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

deploy-cran-repo uses deprecated upload-artifact: v3 via old upload-pages-artifact: v2 #26

Open
olli4 opened this issue Feb 2, 2025 · 1 comment

Comments

@olli4
Copy link

olli4 commented Feb 2, 2025

I'm using the example for deploy-cran-repo, copied to and parameterized in my repo for an R package. The action used to work until the deprecation on 2025-01-30 of upload-artifact: v3. Currently the action fails with an error citing the deprecation (see at the bottom of the log below).

The deprecated upload-artifact: v3 is used indirectly by deploy-cran-repo via upload-pages-artifact: v2. Could the action be updated to use the latest upload-pages-artifact: v3?

Here is the relevant log snippet from the action in my repo:

Download action repository 'actions/upload-pages-artifact@v2' (SHA:a753861a5debcf57bf8b404356158c8e1e33150c)
##[debug]Download 'https://api.github.com/repos/actions/upload-pages-artifact/tarball/a753861a5debcf57bf8b404356158c8e1e33150c' to '/home/runner/work/_actions/_temp_54ee2b80-410e-459c-a2a8-4d5b39c53b02/88ba865a-d450-4760-8651-eeef0c7ce752.tar.gz'
##[debug]Unwrap 'actions-upload-pages-artifact-a753861' to '/home/runner/work/_actions/actions/upload-pages-artifact/v2'
##[debug]Archive '/home/runner/work/_actions/_temp_54ee2b80-410e-459c-a2a8-4d5b39c53b02/88ba865a-d450-4760-8651-eeef0c7ce752.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/upload-pages-artifact/v2'.
Download action repository 'actions/deploy-pages@v2' (SHA:de14547edc9944350dc0481aa5b7afb08e75f254)
##[debug]Download 'https://api.github.com/repos/actions/deploy-pages/tarball/de14547edc9944350dc0481aa5b7afb08e75f254' to '/home/runner/work/_actions/_temp_3fb4a608-a834-48e6-a744-cafb44b62d18/2dd5b20b-ee11-4aa7-81d7-3d820cec78c8.tar.gz'
##[debug]Unwrap 'actions-deploy-pages-de14547' to '/home/runner/work/_actions/actions/deploy-pages/v2'
##[debug]Archive '/home/runner/work/_actions/_temp_3fb4a608-a834-48e6-a744-cafb44b62d18/2dd5b20b-ee11-4aa7-81d7-3d820cec78c8.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/deploy-pages/v2'.
##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
##[debug]action.yml for action: '/home/runner/work/_actions/actions/upload-pages-artifact/v2/action.yml'.
Getting action download info
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
##[debug]GitHub.DistributedTask.WebApi.UnresolvableActionDownloadInfoException: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
@georgestagg
Copy link
Member

Thanks for reporting this! It should hopefully now be fixed as of 85cc1f0.

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

No branches or pull requests

2 participants