mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +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
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Azure login
|
- name: Azure login
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: azure/login@v2
|
uses: azure/login@v2
|
||||||
with:
|
with:
|
||||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||||
@@ -152,13 +153,16 @@ jobs:
|
|||||||
Remove-Item Env:\GOARCH
|
Remove-Item Env:\GOARCH
|
||||||
|
|
||||||
- name: Sign binaries
|
- name: Sign binaries
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: azure/trusted-signing-action@v0.5.0
|
uses: azure/trusted-signing-action@v0.5.0
|
||||||
with:
|
with:
|
||||||
endpoint: https://eus.codesigning.azure.net/
|
endpoint: https://eus.codesigning.azure.net/
|
||||||
trusted-signing-account-name: nicola
|
trusted-signing-account-name: nicola
|
||||||
certificate-profile-name: SFTPGo
|
certificate-profile-name: SFTPGo
|
||||||
files: ${{ github.workspace }}\sftpgo.exe,${{ github.workspace }}\arm64\sftpgo.exe,${{ github.workspace }}\x86\sftpgo.exe
|
files: |
|
||||||
files-folder-filter: exe,dll
|
${{ github.workspace }}\sftpgo.exe
|
||||||
|
${{ github.workspace }}\arm64\sftpgo.exe
|
||||||
|
${{ github.workspace }}\x86\sftpgo.exe
|
||||||
file-digest: SHA256
|
file-digest: SHA256
|
||||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
||||||
timestamp-digest: SHA256
|
timestamp-digest: SHA256
|
||||||
@@ -243,13 +247,16 @@ jobs:
|
|||||||
iscc .\windows-installer\sftpgo.iss
|
iscc .\windows-installer\sftpgo.iss
|
||||||
|
|
||||||
- name: Sign installers
|
- name: Sign installers
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: azure/trusted-signing-action@v0.5.0
|
uses: azure/trusted-signing-action@v0.5.0
|
||||||
with:
|
with:
|
||||||
endpoint: https://eus.codesigning.azure.net/
|
endpoint: https://eus.codesigning.azure.net/
|
||||||
trusted-signing-account-name: nicola
|
trusted-signing-account-name: nicola
|
||||||
certificate-profile-name: SFTPGo
|
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: |
|
||||||
files-folder-filter: exe,dll
|
${{ github.workspace }}\sftpgo_windows_x86_64.exe
|
||||||
|
${{ github.workspace }}\sftpgo_windows_arm64.exe
|
||||||
|
${{ github.workspace }}\sftpgo_windows_x86.exe
|
||||||
file-digest: SHA256
|
file-digest: SHA256
|
||||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
||||||
timestamp-digest: SHA256
|
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/
|
endpoint: https://eus.codesigning.azure.net/
|
||||||
trusted-signing-account-name: nicola
|
trusted-signing-account-name: nicola
|
||||||
certificate-profile-name: SFTPGo
|
certificate-profile-name: SFTPGo
|
||||||
files: ${{ github.workspace }}\sftpgo.exe,${{ github.workspace }}\arm64\sftpgo.exe,${{ github.workspace }}\x86\sftpgo.exe
|
files: |
|
||||||
files-folder-filter: exe,dll
|
${{ github.workspace }}\sftpgo.exe
|
||||||
|
${{ github.workspace }}\arm64\sftpgo.exe
|
||||||
|
${{ github.workspace }}\x86\sftpgo.exe
|
||||||
file-digest: SHA256
|
file-digest: SHA256
|
||||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
||||||
timestamp-digest: SHA256
|
timestamp-digest: SHA256
|
||||||
@@ -156,8 +158,10 @@ jobs:
|
|||||||
endpoint: https://eus.codesigning.azure.net/
|
endpoint: https://eus.codesigning.azure.net/
|
||||||
trusted-signing-account-name: nicola
|
trusted-signing-account-name: nicola
|
||||||
certificate-profile-name: SFTPGo
|
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: |
|
||||||
files-folder-filter: exe,dll
|
${{ github.workspace }}\sftpgo_windows_x86_64.exe
|
||||||
|
${{ github.workspace }}\sftpgo_windows_arm64.exe
|
||||||
|
${{ github.workspace }}\sftpgo_windows_x86.exe
|
||||||
file-digest: SHA256
|
file-digest: SHA256
|
||||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
||||||
timestamp-digest: SHA256
|
timestamp-digest: SHA256
|
||||||
|
|||||||
Reference in New Issue
Block a user