fix: github actions cause error when run 'npm install -g npm' to install the latest npm
This commit is contained in:
parent
4fb5c860b5
commit
8912971be0
|
@ -53,7 +53,7 @@ jobs:
|
|||
- name: Build frontend assets
|
||||
shell: bash
|
||||
run: |
|
||||
npm install -g npm
|
||||
npm install -g npm@8
|
||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||
mv tmp.json wails.json
|
||||
cd frontend
|
||||
|
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
- name: Build frontend assets
|
||||
shell: bash
|
||||
run: |
|
||||
npm install -g npm
|
||||
npm install -g npm@8
|
||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||
mv tmp.json wails.json
|
||||
cd frontend
|
||||
|
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
- name: Build frontend assets
|
||||
shell: bash
|
||||
run: |
|
||||
npm install -g npm
|
||||
npm install -g npm@8
|
||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||
mv tmp.json wails.json
|
||||
cd frontend
|
||||
|
|
Loading…
Reference in New Issue