mirror of
https://github.com/maotoumao/MusicFreeDesktop.git
synced 2026-06-05 22:31:16 +08:00
update autobuild
This commit is contained in:
14
.github/workflows/autobuild.yml
vendored
14
.github/workflows/autobuild.yml
vendored
@@ -8,8 +8,8 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: echo (node -p -e '`VERSION=${require(\"./package.json\").version}`') >> $Env:GITHUB_ENV
|
||||
node-version: 18
|
||||
- run: echo (node -p -e '`VERSION=${require("./package.json").version}`') >> $Env:GITHUB_ENV
|
||||
- run: npm install
|
||||
- run: npm run package
|
||||
- uses: maotoumao/inno-setup-action-cli@main
|
||||
@@ -39,8 +39,8 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: echo (node -p -e '`VERSION=${require(\"./package.json\").version}`') >> $Env:GITHUB_ENV
|
||||
node-version: 18
|
||||
- run: echo (node -p -e '`VERSION=${require("./package.json").version}`') >> $Env:GITHUB_ENV
|
||||
- run: npm install
|
||||
- run: npm install electron@22
|
||||
- run: npm run package
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
python-version: '3.10'
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
- run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
|
||||
- run: npm install
|
||||
- run: npm run make
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
python-version: '3.10'
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
- run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
|
||||
- run: npm install
|
||||
- run: npm run make -- --arch="arm64"
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
- run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
|
||||
- run: npm install
|
||||
- run: npm run make
|
||||
|
||||
Reference in New Issue
Block a user