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
|
- name: Build frontend assets
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
npm install -g npm
|
npm install -g npm@8
|
||||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||||
mv tmp.json wails.json
|
mv tmp.json wails.json
|
||||||
cd frontend
|
cd frontend
|
||||||
|
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
- name: Build frontend assets
|
- name: Build frontend assets
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
npm install -g npm
|
npm install -g npm@8
|
||||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||||
mv tmp.json wails.json
|
mv tmp.json wails.json
|
||||||
cd frontend
|
cd frontend
|
||||||
|
|
|
@ -52,7 +52,7 @@ jobs:
|
||||||
- name: Build frontend assets
|
- name: Build frontend assets
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
npm install -g npm
|
npm install -g npm@8
|
||||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||||
mv tmp.json wails.json
|
mv tmp.json wails.json
|
||||||
cd frontend
|
cd frontend
|
||||||
|
|
Loading…
Reference in New Issue