mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 01:36:27 +00:00
don't attempt to sign on forks (#881)
* overwrite unsigned binary * only sign on ciromattia * Update package-windows.yml * only sign on ciromattia
This commit is contained in:
@@ -50,6 +50,7 @@ jobs:
|
||||
|
||||
- id: optional_step_id
|
||||
uses: signpath/github-action-submit-signing-request@v1.1
|
||||
if: ${{ github.repository == 'ciromattia/kcc' }}
|
||||
with:
|
||||
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
|
||||
organization-id: '1dc1bad6-4a8c-4f85-af30-5c5d3d392ea6'
|
||||
@@ -57,7 +58,7 @@ jobs:
|
||||
signing-policy-slug: 'release-signing'
|
||||
github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
|
||||
wait-for-completion: true
|
||||
output-artifact-directory: 'dist/windows/signed/'
|
||||
output-artifact-directory: 'dist/windows/'
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
@@ -67,4 +68,4 @@ jobs:
|
||||
generate_release_notes: true
|
||||
files: |
|
||||
LICENSE.txt
|
||||
dist/windows/signed/*.exe
|
||||
dist/windows/*.exe
|
||||
|
||||
Reference in New Issue
Block a user