-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
78 additions
and
1 deletion.
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,73 @@ | ||
name: Publish Alpha | ||
|
||
on: | ||
push: | ||
branches: | ||
- alpha | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: | | ||
8 | ||
16 | ||
17 | ||
- name: Build with Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: build | ||
|
||
- name: Publish to Modrinth | ||
uses: Apehum/[email protected] | ||
with: | ||
modrinth-id: WXJRlyZ9 | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
changelog-file: changelog.md | ||
|
||
files: | | ||
plugin/build/libs/!(*-@(dev|sources|javadoc)).jar | ||
plugin/build/libs/*-@(dev|sources|javadoc).jar | ||
version-type: alpha | ||
loaders: | | ||
paper | ||
game-versions: | | ||
1.16.5 | ||
1.17.1 | ||
1.18.2 | ||
1.19.2 | ||
1.19.3 | ||
1.19.4 | ||
1.20 | ||
1.20.1 | ||
1.20.2 | ||
1.20.3 | ||
1.20.4 | ||
1.20.5 | ||
1.20.6 | ||
1.21 | ||
1.21.1 | ||
- name: Publish to GitHub | ||
uses: Apehum/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
github-generate-changelog: false | ||
changelog-file: changelog.md | ||
|
||
files: | | ||
plugin/build/libs/!(*-@(dev|sources|javadoc)).jar | ||
plugin/build/libs/*-@(dev|sources|javadoc).jar |
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,4 +1,4 @@ | ||
name: Publish | ||
name: Publish Release | ||
|
||
on: | ||
push: | ||
|
@@ -55,6 +55,10 @@ jobs: | |
1.20.2 | ||
1.20.3 | ||
1.20.4 | ||
1.20.5 | ||
1.20.6 | ||
1.21 | ||
1.21.1 | ||
- name: Publish to GitHub | ||
uses: Apehum/[email protected] | ||
|