Skip to content

Commit

Permalink
[DEVOP-881] github update all action workflows to use actions artifac…
Browse files Browse the repository at this point in the history
…t v4 plugins

Starting November 30, 2024, workflows using actions/upload-artifact@v3 & actions/download-artifact@v3 will no longer function. The v4 release offers significant performance improvements, including up to 98% faster upload and download speeds, and introduces new features.

The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
  • Loading branch information
eoyewobi authored Nov 26, 2024
1 parent fb35e8b commit 8ea38f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish-HOWTOs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
RELEASE_BRANCH_PREFIX: 'container/'
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16

Expand All @@ -38,7 +38,7 @@ jobs:
PKG_HOWTOS_PATH: ${{ github.ref_name }}

- name: Upload artifacts (GitHub Pages)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: workflow-howtos-github
Expand All @@ -47,7 +47,7 @@ jobs:

- name: Upload artifacts (AWS s3 CDN)
if: ${{ startsWith(github.ref_name, env.RELEASE_BRANCH_PREFIX) }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: workflow-howtos-aws
Expand All @@ -60,10 +60,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: workflow-howtos-github
path: public-github/
Expand All @@ -82,7 +82,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: workflow-howtos-aws
path: public-aws/
Expand Down

0 comments on commit 8ea38f8

Please sign in to comment.