forked from Slimefun/Slimefun4
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'Slimefun/master'
Build 1144
- Loading branch information
Showing
10 changed files
with
217 additions
and
119 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Publish build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- stable | ||
|
||
jobs: | ||
publish: | ||
name: Upload build | ||
runs-on: ubuntu-latest | ||
if: contains(github.event.head_commit.message, '[ci skip]') == false | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'adopt' | ||
java-version: '17' | ||
java-package: jdk | ||
architecture: x64 | ||
|
||
- name: Build with Maven | ||
run: mvn clean package | ||
|
||
- name: Upload to Blob Builds | ||
uses: WalshyDev/blob-builds/gh-action@f3da5ce7b7e2b70eb963e0c0014677b3d78c10fa | ||
with: | ||
project: Slimefun4 | ||
releaseChannel: ${{ github.ref == 'refs/heads/master' && 'Dev' || 'RC' }} | ||
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }} | ||
file: './target/Slimefun v4.9-UNOFFICIAL.jar' | ||
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
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
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
Oops, something went wrong.