mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 21:28:40 -09:00
Enable code signing in github actions
This commit is contained in:
parent
01a909e701
commit
7f424c1b7d
1 changed files with 11 additions and 1 deletions
10
.github/workflows/nodejs.yml
vendored
10
.github/workflows/nodejs.yml
vendored
|
|
@ -27,6 +27,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cp build/canary.ico build/icon.ico
|
cp build/canary.ico build/icon.ico
|
||||||
cp build/canary.icns build/icon.icns
|
cp build/canary.icns build/icon.icns
|
||||||
|
# - name: Get Certificate for signing
|
||||||
|
# if: github.event_name == 'push'
|
||||||
|
# run: |
|
||||||
|
# echo "::set-env name=CSC_LINK::${{ secrets.MAC_CERT_P12_BASE64 }}"
|
||||||
|
# echo "::set-env name=CSC_KEY_PASSWORD::${{ secrets.MAC_CERT_P12_PASSWORD }}"
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn run dist --publish=never
|
run: yarn run dist --publish=never
|
||||||
- name: Get macOS Artifact Names
|
- name: Get macOS Artifact Names
|
||||||
|
|
@ -114,6 +119,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
Copy-Item .\build\canary.ico .\build\icon.ico
|
Copy-Item .\build\canary.ico .\build\icon.ico
|
||||||
Copy-Item .\build\canary.icns .\build\icon.icns
|
Copy-Item .\build\canary.icns .\build\icon.icns
|
||||||
|
- name: Get Certificate for signing
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
run: |
|
||||||
|
Write-Host "::set-env name=CSC_LINK::${{ secrets.WIN_CERT_P12_BASE64 }}"
|
||||||
|
Write-Host "::set-env name=CSC_KEY_PASSWORD::${{ secrets.WIN_CERT_P12_PASSWORD }}"
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn run dist --publish=never
|
run: yarn run dist --publish=never
|
||||||
- name: Get Windows Artifact Names
|
- name: Get Windows Artifact Names
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue