Skip to content

Commit

Permalink
⬆️ switching to node 20
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <[email protected]>
  • Loading branch information
burgholzer committed Sep 25, 2023
1 parent 79d3e76 commit 5a0259b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 18
- name: Set Node.js
uses: actions/[email protected]
with:
node-version: 18
node-version: 20.x
cache: npm

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Node.js 18
- name: Set Node.js
uses: actions/[email protected]
with:
node-version: 18
node-version: 20.x
cache: npm
- run: npm ci
- run: npm run all
Expand Down
19 changes: 2 additions & 17 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,9 @@ inputs:
outputs:
z3-root:
description: "The root directory of the Z3 installation"
value: ${{ steps.action.outputs.z3-root }}
runs:
using: composite
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Action
id: action
run: |
node ${{ github.action_path }}/dist/index.js
echo "{z3-root}={value1}" >> $GITHUB_OUTPUT
shell: ${{ (runner.os == 'Windows' && 'pwsh') || 'bash' }}
env:
INPUT_VERSION: ${{ inputs.version }}
INPUT_PLATFORM: ${{ inputs.platform }}
INPUT_ARCHITECTURE: ${{ inputs.architecture }}
using: "node20"
main: "dist/index.js"
branding:
icon: "package"
color: "blue"

0 comments on commit 5a0259b

Please sign in to comment.