mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Fix github actions failing on forks
This commit is contained in:
parent
8617fe3878
commit
ecf711b082
1 changed files with 2 additions and 6 deletions
8
.github/workflows/nodejs.yml
vendored
8
.github/workflows/nodejs.yml
vendored
|
|
@ -39,12 +39,8 @@ jobs:
|
|||
run: |
|
||||
cp build/canary.ico build/icon.ico
|
||||
cp build/canary.icns build/icon.icns
|
||||
- name: Build (pr)
|
||||
if: github.event_name == 'pull_request'
|
||||
run: yarn run dist --publish=never
|
||||
- name: Build (push)
|
||||
if: github.event_name == 'push'
|
||||
run: yarn run dist
|
||||
- name: Build
|
||||
run: if [ ! -z "$CSC_LINK" ] ; then yarn run dist ; else unset CSC_LINK && unset WIN_CSC_LINK && yarn run dist --publish=never ; fi
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CSC_LINK: ${{ secrets.MAC_CERT_P12_BASE64 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue