Skip to content

Commit

Permalink
ci: fix retry command directories
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed May 17, 2024
1 parent 6503fd7 commit c543671
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ jobs:
max_attempts: 3
timeout_minutes: 30
retry_wait_seconds: 30
command: npm run build
command: |
cd ${{ matrix.app }}
npm run build
- name: Download daemon binary
run: npm run download:binary
shell: bash
Expand All @@ -80,6 +82,7 @@ jobs:
timeout_minutes: 30
retry_wait_seconds: 30
command: |
cd ${{ matrix.app }}
npm run publish --arch=arm64,x64
linux:
strategy:
Expand All @@ -103,7 +106,9 @@ jobs:
max_attempts: 3
timeout_minutes: 30
retry_wait_seconds: 30
command: npm run build
command: |
cd ${{ matrix.app }}
npm run build
- name: Download daemon binary
run: npm run download:binary
shell: bash
Expand All @@ -120,6 +125,7 @@ jobs:
timeout_minutes: 30
retry_wait_seconds: 30
command: |
cd ${{ matrix.app }}
npm run publish --arch=arm64,x64
windows:
strategy:
Expand All @@ -145,7 +151,9 @@ jobs:
max_attempts: 3
timeout_minutes: 30
retry_wait_seconds: 30
command: npm run build
command: |
cd ${{ matrix.app }}
npm run build
- name: Download daemon binary
run: npm run download:binary
shell: bash
Expand All @@ -162,6 +170,7 @@ jobs:
timeout_minutes: 30
retry_wait_seconds: 30
command: |
cd ${{ matrix.app }}
npm run publish --arch=x64
# #TODO: probably not correct
# APP_PATH="out/${{ matrix.app }}-win32-x64/${{ matrix.app }}.app"
Expand Down

0 comments on commit c543671

Please sign in to comment.