From 046dc12cf66d2160591e55de14b7ba440497b212 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Tue, 26 Nov 2024 14:45:16 +0100 Subject: [PATCH] also on windows upload signed build [ci skip] --- .github/workflows/build-win.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml index 9133d47..7aa3c3a 100644 --- a/.github/workflows/build-win.yml +++ b/.github/workflows/build-win.yml @@ -98,11 +98,6 @@ jobs: --java-options "-Xmx256m" --java-options "-Dfile.encoding=\"utf-8\"" --win-console - - uses: actions/upload-artifact@v4 - with: - name: cryptomator-cli-win-x64 - path: ./target/cryptomator-cli - if-no-files-found: error - name: Fix permissions run: attrib -r target/cryptomator-cli/cryptomator-cli.exe shell: pwsh @@ -157,6 +152,13 @@ jobs: env: GPG_PRIVATE_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }} + - uses: actions/upload-artifact@v4 + with: + name: cryptomator-cli-win-x64 + path: | + ${{ env.artifact-name}} + *.asc + if-no-files-found: error - name: Publish artefact on GitHub Releases if: startsWith(github.ref, 'refs/tags/') && github.event.action == 'published' uses: softprops/action-gh-release@v2