mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
CI: skip signing Windows binaries for pull requests
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
15
.github/workflows/development.yml
vendored
15
.github/workflows/development.yml
vendored
@@ -109,6 +109,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Azure login
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
@@ -152,13 +153,16 @@ jobs:
|
||||
Remove-Item Env:\GOARCH
|
||||
|
||||
- name: Sign binaries
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: azure/trusted-signing-action@v0.5.0
|
||||
with:
|
||||
endpoint: https://eus.codesigning.azure.net/
|
||||
trusted-signing-account-name: nicola
|
||||
certificate-profile-name: SFTPGo
|
||||
files: ${{ github.workspace }}\sftpgo.exe,${{ github.workspace }}\arm64\sftpgo.exe,${{ github.workspace }}\x86\sftpgo.exe
|
||||
files-folder-filter: exe,dll
|
||||
files: |
|
||||
${{ github.workspace }}\sftpgo.exe
|
||||
${{ github.workspace }}\arm64\sftpgo.exe
|
||||
${{ github.workspace }}\x86\sftpgo.exe
|
||||
file-digest: SHA256
|
||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
||||
timestamp-digest: SHA256
|
||||
@@ -243,13 +247,16 @@ jobs:
|
||||
iscc .\windows-installer\sftpgo.iss
|
||||
|
||||
- name: Sign installers
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: azure/trusted-signing-action@v0.5.0
|
||||
with:
|
||||
endpoint: https://eus.codesigning.azure.net/
|
||||
trusted-signing-account-name: nicola
|
||||
certificate-profile-name: SFTPGo
|
||||
files: ${{ github.workspace }}\sftpgo_windows_x86_64.exe,${{ github.workspace }}\sftpgo_windows_arm64.exe,${{ github.workspace }}\sftpgo_windows_x86.exe
|
||||
files-folder-filter: exe,dll
|
||||
files: |
|
||||
${{ github.workspace }}\sftpgo_windows_x86_64.exe
|
||||
${{ github.workspace }}\sftpgo_windows_arm64.exe
|
||||
${{ github.workspace }}\sftpgo_windows_x86.exe
|
||||
file-digest: SHA256
|
||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
||||
timestamp-digest: SHA256
|
||||
|
||||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -96,8 +96,10 @@ jobs:
|
||||
endpoint: https://eus.codesigning.azure.net/
|
||||
trusted-signing-account-name: nicola
|
||||
certificate-profile-name: SFTPGo
|
||||
files: ${{ github.workspace }}\sftpgo.exe,${{ github.workspace }}\arm64\sftpgo.exe,${{ github.workspace }}\x86\sftpgo.exe
|
||||
files-folder-filter: exe,dll
|
||||
files: |
|
||||
${{ github.workspace }}\sftpgo.exe
|
||||
${{ github.workspace }}\arm64\sftpgo.exe
|
||||
${{ github.workspace }}\x86\sftpgo.exe
|
||||
file-digest: SHA256
|
||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
||||
timestamp-digest: SHA256
|
||||
@@ -156,8 +158,10 @@ jobs:
|
||||
endpoint: https://eus.codesigning.azure.net/
|
||||
trusted-signing-account-name: nicola
|
||||
certificate-profile-name: SFTPGo
|
||||
files: ${{ github.workspace }}\sftpgo_windows_x86_64.exe,${{ github.workspace }}\sftpgo_windows_arm64.exe,${{ github.workspace }}\sftpgo_windows_x86.exe
|
||||
files-folder-filter: exe,dll
|
||||
files: |
|
||||
${{ github.workspace }}\sftpgo_windows_x86_64.exe
|
||||
${{ github.workspace }}\sftpgo_windows_arm64.exe
|
||||
${{ github.workspace }}\sftpgo_windows_x86.exe
|
||||
file-digest: SHA256
|
||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
||||
timestamp-digest: SHA256
|
||||
|
||||
Reference in New Issue
Block a user