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:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
include:
|
||||
- os: macos-latest
|
||||
platform: mac
|
||||
- os: ubuntu-latest
|
||||
platform: linux
|
||||
- os: windows-latest
|
||||
platform: windows
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -31,12 +38,6 @@ jobs:
|
|||
|
||||
- name: Run Electron Builder
|
||||
run: |
|
||||
case "${{ matrix.os }}" in
|
||||
macos-latest) platform=mac ;;
|
||||
ubuntu-latest) platform=linux ;;
|
||||
windows-latest) platform=windows ;;
|
||||
esac
|
||||
|
||||
pnpm electron-builder --$platform --publish always
|
||||
pnpm electron-builder --${{ matrix.platform }} --publish always
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue