Skip to content

Commit 5d34899

Browse files
committed
ci: align Node version with shared AsyncAPI workflow
1 parent 72fd21f commit 5d34899

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/upload-release-assets.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,15 @@ jobs:
6969
if: matrix.container == ''
7070
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
7171
id: lockversion
72+
with:
73+
node-version: ${{ vars.NODE_VERSION }}
7274

7375
- name: Setup Node.js
7476
if: matrix.container == ''
75-
uses: actions/setup-node@v4
77+
uses: actions/setup-node@v6
7678
with:
7779
node-version: "${{ steps.lockversion.outputs.version }}"
78-
79-
- if: matrix.npm_script == 'pack:windows'
80-
name: install nodejs for windows
81-
uses: actions/setup-node@v4
82-
with:
83-
node-version: 20
84-
80+
8581
- name: Get version from package.json
8682
uses: actions/github-script@v6
8783
id: extractver

0 commit comments

Comments
 (0)