From 032b94e81da03b501fd69c46790fed9f2fac8090 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 2 Dec 2023 17:52:13 +0100 Subject: [PATCH] fix ci part 2 --- .github/workflows/release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76d32f0..249492f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}