Skip to content

Commit

Permalink
Update to Blob Builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Sefiraat committed Jun 13, 2024
1 parent 4828f08 commit 88051ae
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,32 @@ on:
push:
branches:
- master
- dev
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 }}

0 comments on commit 88051ae

Please sign in to comment.