From 9bd001c9ed5b9abf407076f7a1120db401a2c85a Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Fri, 1 Nov 2024 12:49:39 +0000 Subject: [PATCH] Update to github releases --- .github/workflows/mac.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index ca01b15b2..82ee222a2 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -61,8 +61,13 @@ jobs: with: name: sdrangel-${{ steps.get_version.outputs.version }}-macx64.dmg path: ${{ github.workspace }}/build/${{ steps.get_filename.outputs.filename }}.dmg + - name: Upload release + if: startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v2 + with: + files: ${{ github.workspace }}/build/${{ steps.get_filename.outputs.filename }}.dmg - build_mac_arm: + build_mac_arm64: runs-on: macos-14 steps: - uses: actions/checkout@v4 @@ -117,3 +122,8 @@ jobs: with: name: sdrangel-${{ steps.get_version.outputs.version }}-macarm64.dmg path: ${{ github.workspace }}/build/${{ steps.get_filename.outputs.filename }}.dmg + - name: Upload release + if: startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v2 + with: + files: ${{ github.workspace }}/build/${{ steps.get_filename.outputs.filename }}.dmg