ci: stop using action-electron-builder
This commit is contained in:
parent
7efa54687a
commit
ee7e71b9fb
1 changed files with 12 additions and 4 deletions
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue