Fix publish workflow

This commit is contained in:
jeffvli
2022-11-20 19:33:19 -08:00
parent 19792bc8d8
commit b89fd340e7
+7 -7
View File
@@ -29,15 +29,15 @@ jobs:
- name: Publish releases - name: Publish releases
env: env:
# These values are used for auto updates signing
# APPLE_ID: ${{ secrets.APPLE_ID }}
# APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
# CSC_LINK: ${{ secrets.CSC_LINK }}
# CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# This is used for uploading release assets to github
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: nick-invision/retry@v2.4.0 uses: nick-invision/retry@v2.4.0
run: | with:
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
npm run postinstall npm run postinstall
npm run build npm run build
npm exec electron-builder -- --publish always --win --mac --linux npm exec electron-builder -- --publish always --win --mac --linux
on_retry_command: npm cache clean --force
shell: cmd