mirror of
https://github.com/felixrieseberg/macintosh.js.git
synced 2024-06-08 07:29:32 +00:00
build: Only attempt to create code signature if secrets are set
This commit is contained in:
parent
c73331bf6a
commit
5c83088633
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -62,7 +62,7 @@ jobs:
|
|||
MACOS_CERT_P12: ${{ secrets.MACOS_CERT_P12 }}
|
||||
MACOS_CERT_PASSWORD: ${{ secrets.MACOS_CERT_PASSWORD }}
|
||||
- name: Set Windows signing certificate
|
||||
if: matrix.os == 'windows-latest'
|
||||
if: ${{ matrix.os == 'windows-latest' && secrets.WINDOWS_CODESIGN_P12 }}
|
||||
id: write_file
|
||||
uses: timheuer/base64-to-file@v1
|
||||
with:
|
||||
|
@ -105,6 +105,7 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
draft: true
|
||||
files: |
|
||||
out/**/*.deb
|
||||
out/**/*.dmg
|
||||
|
|
Loading…
Reference in New Issue
Block a user