Update to Blob Builds #416
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: Java CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build and Upload | |
runs-on: ubuntu-latest | |
if: contains(github.event.head_commit.message, '[ci skip]') == false | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 16 | |
uses: actions/[email protected] | |
with: | |
java-version: 16 | |
distribution: adopt | |
- name: Build with Maven | |
run: mvn package --file pom.xml | |
- name: Upload to Builds | |
uses: WalshyDev/blob-builds/gh-action@main | |
with: | |
project: SlimeTinker | |
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }} | |
file: ./target/SlimeTinker.jar | |
releaseNotes: ${{ github.event.head_commit.message }} |