diff --git a/.github/workflows/auto_build.yml b/.github/workflows/auto_build.yml index 7342328..cd51033 100644 --- a/.github/workflows/auto_build.yml +++ b/.github/workflows/auto_build.yml @@ -12,9 +12,6 @@ jobs: build: runs-on: ubuntu-latest - container: - image: debian:bullseye - steps: - uses: actions/checkout@v3 @@ -24,4 +21,26 @@ jobs: - uses: actions/upload-artifact@v3 with: name: Pre-Compiled Jumploaders - path: build/*.bin + path: build/*.bin + + publish_release: + name: Publish (Release) + runs-on: ubuntu-latest + + needs: [build] + + if: startsWith(github.ref, 'refs/tags/') + + steps: + - uses: actions/download-artifact@v3 + with: + name: Pre-Compiled Jumploaders + path: build/ + + - uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + name: Release ${{ github.ref_name }} + files: build/*.bin + fail_on_unmatched_files: true