Skip to content

Commit

Permalink
Update pake-cli.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: chenwynn <[email protected]>
  • Loading branch information
chenwynn authored Nov 20, 2024
1 parent 97a68ca commit 7ab3a0b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/pake-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install Rust for ubuntu-20.04
if: inputs.platform == 'ubuntu-20.04'
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
npm install pake-cli
- name: Rust cache restore
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache_store
with:
path: |
Expand Down Expand Up @@ -133,16 +133,17 @@ jobs:
MULTI_ARCH: ${{ inputs.multi_arch }}
TARGETS: ${{ inputs.targets }}
SAFE_DOMAIN: ${{ inputs.safe_domain }}
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: true

- name: Upload archive
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: output-${{ inputs.platform }}.zip
path: node_modules/pake-cli/output/*
retention-days: 3

- name: Rust cache store
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: steps.cache_store.outputs.cache-hit != 'true'
with:
path: |
Expand Down

0 comments on commit 7ab3a0b

Please sign in to comment.