chore: desktop workflow
This commit is contained in:
6
.github/workflows/desktop.release.test.yml
vendored
6
.github/workflows/desktop.release.test.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
node-version: '14.x'
|
node-version: '14.x'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn build
|
- run: yarn build:web:all
|
||||||
|
|
||||||
|
|
||||||
Linux:
|
Linux:
|
||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
needs: build
|
needs: build
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./packages/desktop
|
working-directory: packages/desktop
|
||||||
steps:
|
steps:
|
||||||
- name: Compile for AppImage
|
- name: Compile for AppImage
|
||||||
run: yarn run webpack --config desktop.webpack.prod.js
|
run: yarn run webpack --config desktop.webpack.prod.js
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
needs: [Linux]
|
needs: [Linux]
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./packages/desktop
|
working-directory: packages/desktop
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
10
.github/workflows/desktop.release.yml
vendored
10
.github/workflows/desktop.release.yml
vendored
@@ -15,14 +15,14 @@ jobs:
|
|||||||
node-version: '14.x'
|
node-version: '14.x'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn build
|
- run: yarn build:web:all
|
||||||
|
|
||||||
Mac:
|
Mac:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: build
|
needs: build
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./packages/desktop
|
working-directory: packages/desktop
|
||||||
steps:
|
steps:
|
||||||
- name: Compile Mac
|
- name: Compile Mac
|
||||||
run: yarn run webpack --config desktop.webpack.prod.js
|
run: yarn run webpack --config desktop.webpack.prod.js
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
needs: build
|
needs: build
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./packages/desktop
|
working-directory: packages/desktop
|
||||||
steps:
|
steps:
|
||||||
- name: Compile for AppImage
|
- name: Compile for AppImage
|
||||||
run: yarn run webpack --config desktop.webpack.prod.js
|
run: yarn run webpack --config desktop.webpack.prod.js
|
||||||
@@ -100,7 +100,7 @@ jobs:
|
|||||||
needs: build
|
needs: build
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./packages/desktop
|
working-directory: packages/desktop
|
||||||
steps:
|
steps:
|
||||||
- run: yarn run webpack --config desktop.webpack.prod.js
|
- run: yarn run webpack --config desktop.webpack.prod.js
|
||||||
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never
|
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never
|
||||||
@@ -116,7 +116,7 @@ jobs:
|
|||||||
needs: [Windows, Linux, Mac]
|
needs: [Windows, Linux, Mac]
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./packages/desktop
|
working-directory: packages/desktop
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user