ci: stop using action-electron-builder

This commit is contained in:
Vendicated 2023-12-02 17:41:38 +01:00
parent 7efa54687a
commit ee7e71b9fb
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -22,7 +22,15 @@ jobs:
node-version: 18 node-version: 18
- name: Run Electron Builder - name: Run Electron Builder
uses: samuelmeuli/action-electron-builder@e4b12cd06ddf023422f1ac4e39632bd76f6e6928 run: |
with: case "${{ matrix.os }}" in
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} macos-latest) platform=mac ;;
RELEASE: true ubuntu-latest) platform=linux ;;
windows-latest) platform=windows ;;
esac
pnpm install
pnpm build
pnpm electron-builder --$platform --publish always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}