1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-03-22 12:18:32 -04:00

Upload signed releases rather than unsigned releases to Github releases page.

Only sign releases, not all pull requests.
This commit is contained in:
Jon Beniston 2024-12-02 22:41:18 +00:00
parent c0b8620baa
commit d86dbbade9
2 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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