mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
set cert env vars
This commit is contained in:
parent
ed7dcd99f7
commit
d20c9df458
1 changed files with 8 additions and 6 deletions
14
.github/workflows/nodejs.yml
vendored
14
.github/workflows/nodejs.yml
vendored
|
|
@ -119,13 +119,15 @@ 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
|
- name: Build (pr)
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'pull_request'
|
||||||
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
|
run: yarn run dist --publish=never
|
||||||
|
- name: Build (push)
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
run: yarn run dist --publish=never
|
||||||
|
env:
|
||||||
|
CSC_LINK: ${{ secrets.WIN_CERT_P12_BASE64 }}
|
||||||
|
CSC_KEY_PASSWORD: ${{ secrets.WIN_CERT_P12_PASSWORD }}
|
||||||
- name: Get Windows Artifact Names
|
- name: Get Windows Artifact Names
|
||||||
id: getwindowsfilename
|
id: getwindowsfilename
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue