chore: desktop workflow
This commit is contained in:
9
.github/workflows/desktop.release.test.yml
vendored
9
.github/workflows/desktop.release.test.yml
vendored
@@ -6,9 +6,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: ./packages/desktop
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
@@ -22,6 +19,9 @@ jobs:
|
|||||||
Linux:
|
Linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
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
|
||||||
@@ -42,6 +42,9 @@ jobs:
|
|||||||
Publish:
|
Publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [Linux]
|
needs: [Linux]
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./packages/desktop
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
15
.github/workflows/desktop.release.yml
vendored
15
.github/workflows/desktop.release.yml
vendored
@@ -6,9 +6,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: ./packages/desktop
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
@@ -21,6 +18,9 @@ jobs:
|
|||||||
Mac:
|
Mac:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
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
|
||||||
@@ -39,6 +39,9 @@ jobs:
|
|||||||
Linux:
|
Linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
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
|
||||||
@@ -93,6 +96,9 @@ jobs:
|
|||||||
Windows:
|
Windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
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
|
||||||
@@ -106,6 +112,9 @@ jobs:
|
|||||||
Publish:
|
Publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [Windows, Linux, Mac]
|
needs: [Windows, Linux, Mac]
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
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