mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 12:38:39 -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
12
.github/workflows/nodejs.yml
vendored
12
.github/workflows/nodejs.yml
vendored
|
|
@ -27,6 +27,11 @@ jobs:
|
|||
run: |
|
||||
cp build/canary.ico build/icon.ico
|
||||
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
|
||||
run: yarn run dist --publish=never
|
||||
- name: Get macOS Artifact Names
|
||||
|
|
@ -61,7 +66,7 @@ jobs:
|
|||
cp build/canary.ico build/icon.ico
|
||||
cp build/canary.icns build/icon.icns
|
||||
- name: Build
|
||||
run: yarn run dist --publish=never
|
||||
run: yarn run dist --publish=never
|
||||
- name: Get Linux Artifact Names
|
||||
id: getlinuxfilename
|
||||
run: |
|
||||
|
|
@ -114,6 +119,11 @@ jobs:
|
|||
run: |
|
||||
Copy-Item .\build\canary.ico .\build\icon.ico
|
||||
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
|
||||
run: yarn run dist --publish=never
|
||||
- name: Get Windows Artifact Names
|
||||
|
|
|
|||
Loading…
Reference in a new issue