Skip to content

Commit

Permalink
fix ci part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated committed Dec 2, 2023
1 parent 4988163 commit 032b94e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 032b94e

Please sign in to comment.