Updated to use blob.build, added autoupdate, and fixed negative damag… #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish build | |
on: | |
push: | |
branches: | |
- master # Only publish when pushing to "main" | |
jobs: | |
publish: | |
name: Upload build | |
runs-on: ubuntu-latest | |
if: contains(github.event.head_commit.message, '[ci skip]') == false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 16 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 16 | |
- name: Build with Maven | |
run: mvn -B package | |
- name: Upload to Blob Builds | |
uses: WalshyDev/blob-builds/gh-action@main | |
with: | |
project: SlimyRepair | |
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }} | |
releaseNotes: ${{ github.event.head_commit.message }} |