Skip to content

Commit

Permalink
chore: Attach releases to GH releases (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault authored Oct 4, 2022
1 parent 011108e commit 4b01518
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,10 @@ jobs:
run: ./gradlew modrinth
env:
MODRINTH_TOKEN : ${{ secrets.MODRINTH_TOKEN }}
- name: Publish to GitHub actions
if: ${{ runner.os == 'Linux' && env.STATUS == 'release' && github.event_name == 'push' && github.ref == 'refs/heads/main'}}
uses: AButler/[email protected]
with:
files: build/libs/fastasyncvoxelsniper-${{ github.event.release.tag_name }}.jar
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.event.release.tag_name }}

0 comments on commit 4b01518

Please sign in to comment.