From d86dbbade9934f266bcdd10b76154f596ac1db65 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Mon, 2 Dec 2024 22:41:18 +0000 Subject: [PATCH] Upload signed releases rather than unsigned releases to Github releases page. Only sign releases, not all pull requests. --- .github/workflows/sdrangel.yml | 5 ----- .github/workflows/windows.yml | 6 +++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sdrangel.yml b/.github/workflows/sdrangel.yml index d2557c7a4..84d54112c 100644 --- a/.github/workflows/sdrangel.yml +++ b/.github/workflows/sdrangel.yml @@ -94,11 +94,6 @@ jobs: with: name: sdrangel-${{ steps.get_version.outputs.version }}-win64.exe path: ${{ github.workspace }}/build/sdrangel-${{ steps.get_version.outputs.version }}-win64.exe - - name: Upload release - if: startsWith(github.ref, 'refs/tags/') - uses: softprops/action-gh-release@v0.1.13 - with: - files: ${{ github.workspace }}/build/sdrangel-${{ steps.get_version.outputs.version }}-win64.exe build_mac: runs-on: macos-14 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 799b27dcf..14136e65e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -6,7 +6,6 @@ on: - master tags: - 'v*' - pull_request: jobs: build: @@ -110,3 +109,8 @@ jobs: with: name: sdrangel-${{ steps.get_version.outputs.version }}-win64-signed.exe path: ${{ github.workspace }}/build/signed/sdrangel-${{ steps.get_version.outputs.version }}-win64.exe + - name: Upload release + if: startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v2 + with: + files: ${{ github.workspace }}/build/signed/sdrangel-${{ steps.get_version.outputs.version }}-win64.exe