ci: only sign windows artifacts in Release environment
`CI_HAS_ACCESS_TO_AZURE` is only set in our Release env Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
2
.github/actions/package/windows/action.yml
vendored
2
.github/actions/package/windows/action.yml
vendored
@@ -140,7 +140,7 @@ runs:
|
||||
makensis -NOCD "${{ github.workspace }}/${{ env.BUILD_DIR }}/program_info/win_install.nsi"
|
||||
|
||||
- name: Sign installer
|
||||
if: ${{ github.ref_name == 'develop' && inputs.azure-client-id != '' }}
|
||||
if: ${{ env.CI_HAS_ACCESS_TO_AZURE != '' && inputs.azure-client-id != '' }}
|
||||
uses: azure/trusted-signing-action@v0
|
||||
with:
|
||||
endpoint: https://eus.codesigning.azure.net/
|
||||
|
||||
Reference in New Issue
Block a user