diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a28f86..9032cea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,6 +52,15 @@ jobs: name: mod-app-${{ github.event.pull_request.number || env.SHA8 }}-linux-x86_64 path: | *.tar.xz + - uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + tag_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} + draft: false + prerelease: false + files: | + *.tar.xz macos: runs-on: macos-11 @@ -95,6 +104,15 @@ jobs: name: mod-app-${{ github.event.pull_request.number || env.SHA8 }}-macOS path: | *.dmg + - uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + tag_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} + draft: false + prerelease: false + files: | + *.dmg win64: runs-on: ubuntu-22.04 @@ -147,3 +165,12 @@ jobs: path: | *.exe *.zip + - uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + tag_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} + draft: false + prerelease: false + files: | + *.exe