Skip to content

GitHub Actions workflows use deprecated/outdated actions #132

Open
@esabol

Description

@esabol

The Actions tab shows the following warning:

The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

https://github.com/actions/upload-artifact says:

actions/upload-artifact@v3 is scheduled for deprecation on November 30, 2024. Learn more. Similarly, v1/v2 are scheduled for deprecation on June 30, 2024. Please update your workflow to use v4 of the artifact actions. This deprecation will not impact any existing versions of GitHub Enterprise Server being used by customers.

So I think uses: actions/upload-artifact@v3 should be changed to uses: actions/upload-artifact@v4 in .github/workflows/build-and-check.yml.

So I thought I'd check the actions used in .github/workflows/deploy-docs.yml as well. Although not deprecated, actions/upload-pages-artifact is up to v3, and actions/deploy-pages is up to v4, but I'm not sure it's worth updating those?

https://github.com/actions/upload-pages-artifact?tab=readme-ov-file

https://github.com/actions/deploy-pages?tab=readme-ov-file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions