mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Fix publish workflow
This commit is contained in:
@@ -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:
|
||||||
npm run postinstall
|
timeout_minutes: 30
|
||||||
npm run build
|
max_attempts: 3
|
||||||
npm exec electron-builder -- --publish always --win --mac --linux
|
retry_on: error
|
||||||
|
command: |
|
||||||
|
npm run postinstall
|
||||||
|
npm run build
|
||||||
|
npm exec electron-builder -- --publish always --win --mac --linux
|
||||||
|
on_retry_command: npm cache clean --force
|
||||||
|
shell: cmd
|
||||||
|
|||||||
Reference in New Issue
Block a user