Skip to content

Commit

Permalink
Update action versions for ci workflow (#1462)
Browse files Browse the repository at this point in the history
Fix Artifact Build via Gihtub Actions
  • Loading branch information
ShahanaFarooqui authored Nov 7, 2024
1 parent bb58e67 commit 78087e6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-npm-packages
with:
path: node_modules
Expand All @@ -37,7 +37,7 @@ jobs:
run: npm ci --legacy-peer-deps

- name: Cache build frontend
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-build-frontend
with:
path: frontend
Expand All @@ -47,7 +47,7 @@ jobs:
run: npm run buildfrontend

- name: Cache build backend
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-build-backend
with:
path: backend
Expand All @@ -61,17 +61,17 @@ jobs:
needs: build
steps:
- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Cache build frontend
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-build-frontend
with:
path: frontend
key: ${{ runner.os }}-frontend-${{ github.sha }}

- name: Cache build backend
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-build-backend
with:
path: backend
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Compress files
run: tar -czf /tmp/rtlbuild.tar.gz frontend backend rtl.js package.json package-lock.json

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: rtl-build-${{ github.event.release.tag_name }}
path: /tmp/rtlbuild.tar.gz

0 comments on commit 78087e6

Please sign in to comment.