fix ci part 2
This commit is contained in:
parent
4988163744
commit
032b94e81d
1 changed files with 8 additions and 7 deletions
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
|
@ -12,6 +12,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
|
include:
|
||||||
|
- os: macos-latest
|
||||||
|
platform: mac
|
||||||
|
- os: ubuntu-latest
|
||||||
|
platform: linux
|
||||||
|
- os: windows-latest
|
||||||
|
platform: windows
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -31,12 +38,6 @@ jobs:
|
||||||
|
|
||||||
- name: Run Electron Builder
|
- name: Run Electron Builder
|
||||||
run: |
|
run: |
|
||||||
case "${{ matrix.os }}" in
|
pnpm electron-builder --${{ matrix.platform }} --publish always
|
||||||
macos-latest) platform=mac ;;
|
|
||||||
ubuntu-latest) platform=linux ;;
|
|
||||||
windows-latest) platform=windows ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
pnpm electron-builder --$platform --publish always
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue