diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8dade1a..ec3f8c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,16 @@ jobs: files: build\bin\Release\MsiZapEx\ dest: MsiZapEx.zip - - uses: actions/upload-artifact@v2 + - name: Publish artifact + uses: actions/upload-artifact@v2 with: name: MsiZapEx.zip - path: MsiZapEx.zip \ No newline at end of file + path: MsiZapEx.zip + + - name: GH (Pre-)Release + uses: softprops/action-gh-release@v0.1.14 + with: + prerelease: ${{ !startsWith(github.ref, 'refs/tags/') }} + files: MsiZapEx.zip + generate_release_notes: true + tag_name: Build_${{ github.run_number }}_${{ github.ref_type }}_${{ github.ref_name }} \ No newline at end of file