Skip to content

Commit

Permalink
fix: Fix publish workflow issues (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
BYK committed Aug 13, 2024
1 parent 6cb7896 commit ce99d73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
runs-on: ubuntu-latest
if: |
!cancelled()
&& inputs.docker != false
&& (inputs.docker || github.event_name == 'push')
&& (needs.npm.result == 'success' || needs.npm.result == 'skipped')
steps:
- name: Checkout Repo
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
runs-on: macos-latest
if: |
!cancelled()
&& inputs.electron != false
&& (inputs.electron || github.event_name == 'push')
&& (needs.npm.result == 'success' || needs.npm.result == 'skipped')
# strategy:
# fail-fast: false
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
MAIN_VITE_SENTRY_AUTH_TOKEN: ${{ secrets.MAIN_VITE_SENTRY_AUTH_TOKEN }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
run: cd packages/electron && pnpm build:mac
run: pnpm build && cd packages/electron && pnpm build:mac

- name: Gets latest created release info
id: latest_release_info
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "electron-vite preview",
"dev": "electron-vite dev",
"build": "electron-vite build",
"build:mac": "pnpm build && node electron-builder.js"
"build:mac": "node electron-builder.js"
},
"dependencies": {
"@sentry/electron": "^5.3.0",
Expand Down

0 comments on commit ce99d73

Please sign in to comment.