-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from Sefiraat/blob_builds
Move to blob builds
- Loading branch information
Showing
4 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,23 @@ | ||
name: Java CI | ||
name: Test Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- dev | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
|
||
name: Build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Set up JDK 16 | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@v4.2.1 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 16 | ||
cache: 'maven' | ||
distribution: adopt | ||
|
||
- name: Build with Maven | ||
run: mvn package --file pom.xml | ||
run: mvn package |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build and Upload | ||
|
||
on: | ||
push: | ||
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 | ||
|
||
- name: Upload to Builds | ||
uses: WalshyDev/blob-builds/gh-action@main | ||
with: | ||
project: SlimeTinker | ||
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }} | ||
releaseNotes: ${{ github.event.head_commit.message }} |
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
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