diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b01da52..fa2d9c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,11 @@ # certain platforms or Java versions, and provides a first line of defence # against bad commits. +permissions: + contents: write + packages: write + + name: build on: [pull_request, push] @@ -34,4 +39,9 @@ jobs: uses: actions/upload-artifact@v4 with: name: Artifacts - path: build/libs/ \ No newline at end of file + path: build/libs/ + - name: Upload Build to Release + uses: softprops/action-gh-release@v2 + with: + files: build/libs/*.jar + tag_name: v${{ github.sha }}