From 08eb60c1ac9036010c1144e4a20e463432ef8f84 Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Tue, 29 Oct 2024 20:36:53 +0100 Subject: [PATCH] Add upload only when signing is successfull into Github Action Windows workflow. --- .github/workflows/windows.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5c89f5c4..3bd93b1e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -89,6 +89,7 @@ jobs: if-no-files-found: error - name: Sign installer with SignPath + id: signing_installer uses: signpath/github-action-submit-signing-request@v1 with: api-token: '${{ secrets.SIGNPATH_API_TOKEN }}' @@ -99,7 +100,7 @@ jobs: wait-for-completion: false - name: Upload to nightly server - if: always() && steps.create_installer.outcome == 'success' + if: always() && steps.signing_installer.outcome == 'success' uses: dennisameling/ftp-upload-action@v1 with: server: a2f24.netcup.net # welle-io-nightlies.albrechtloh.de is redirected to here