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 (#755)

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 1d2d2a8 commit dc49c01
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish-HOWTOs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
RELEASE_BRANCH_PREFIX: 'workspace/'
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org
scope: '@openfin'

- name: Restore root node_modules from cache
id: node-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
Expand All @@ -53,7 +53,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 @@ -62,7 +62,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 @@ -75,10 +75,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 @@ -97,7 +97,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 dc49c01

Please sign in to comment.