@@ -169,39 +169,6 @@ jobs:
169169 Remove-Item Env:\GOOS
170170 Remove-Item Env:\GOARCH
171171
172- - name : Azure login
173- if : ${{ github.event_name != 'pull_request' }}
174- uses : azure/login@v2
175- with :
176- client-id : ${{ secrets.AZURE_CLIENT_ID }}
177- tenant-id : ${{ secrets.AZURE_TENANT_ID }}
178- subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
179-
180- - name : Sign binaries
181- if : ${{ github.event_name != 'pull_request' }}
182- uses : azure/trusted-signing-action@v0.5.9
183- with :
184- endpoint : https://eus.codesigning.azure.net/
185- trusted-signing-account-name : nicola
186- certificate-profile-name : SFTPGo
187- files : |
188- ${{ github.workspace }}\sftpgo.exe
189- ${{ github.workspace }}\arm64\sftpgo.exe
190- ${{ github.workspace }}\x86\sftpgo.exe
191- file-digest : SHA256
192- timestamp-rfc3161 : http://timestamp.acs.microsoft.com
193- timestamp-digest : SHA256
194- exclude-environment-credential : true
195- exclude-workload-identity-credential : true
196- exclude-managed-identity-credential : true
197- exclude-shared-token-cache-credential : true
198- exclude-visual-studio-credential : true
199- exclude-visual-studio-code-credential : true
200- exclude-azure-cli-credential : false
201- exclude-azure-powershell-credential : true
202- exclude-azure-developer-cli-credential : true
203- exclude-interactive-browser-credential : true
204-
205172 - name : Initialize data provider
206173 run : |
207174 rm sftpgo.db
@@ -247,31 +214,6 @@ jobs:
247214 $Env:SFTPGO_ISS_ARCH='x86'
248215 iscc .\windows-installer\sftpgo.iss
249216
250- - name : Sign installers
251- if : ${{ github.event_name != 'pull_request' }}
252- uses : azure/trusted-signing-action@v0.5.9
253- with :
254- endpoint : https://eus.codesigning.azure.net/
255- trusted-signing-account-name : nicola
256- certificate-profile-name : SFTPGo
257- files : |
258- ${{ github.workspace }}\sftpgo_windows_x86_64.exe
259- ${{ github.workspace }}\sftpgo_windows_arm64.exe
260- ${{ github.workspace }}\sftpgo_windows_x86.exe
261- file-digest : SHA256
262- timestamp-rfc3161 : http://timestamp.acs.microsoft.com
263- timestamp-digest : SHA256
264- exclude-environment-credential : true
265- exclude-workload-identity-credential : true
266- exclude-managed-identity-credential : true
267- exclude-shared-token-cache-credential : true
268- exclude-visual-studio-credential : true
269- exclude-visual-studio-code-credential : true
270- exclude-azure-cli-credential : false
271- exclude-azure-powershell-credential : true
272- exclude-azure-developer-cli-credential : true
273- exclude-interactive-browser-credential : true
274-
275217 - name : Upload Windows installer x86_64 artifact
276218 if : ${{ github.event_name != 'pull_request' }}
277219 uses : actions/upload-artifact@v4
0 commit comments