forked from henkelmax/replay-voice-chat
-
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.
- Loading branch information
Showing
3 changed files
with
73 additions
and
18 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,58 @@ | ||
name: Publish Alpha | ||
|
||
on: | ||
push: | ||
branches: | ||
- alpha | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: | | ||
8 | ||
16 | ||
17 | ||
21 | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build | ||
|
||
- name: Publish to Modrinth/CurseForge | ||
uses: Apehum/[email protected] | ||
with: | ||
name: 'pv-addon-replaymod' | ||
split-releases: true | ||
files-primary: build/libs/*.jar | ||
version-resolver: 'exact' | ||
|
||
changelog-file: client/changelog.md | ||
|
||
modrinth-unfeature-mode: 'subset' | ||
modrinth-id: 4iTfB0AP | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
version-type: alpha | ||
|
||
- name: Publish to GitHub | ||
uses: Apehum/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
github-generate-changelog: false | ||
|
||
files-secondary: "" | ||
|
||
changelog-file: changelog.md |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Publish | |
on: | ||
push: | ||
branches: | ||
- v2.1 | ||
- v1.1 | ||
|
||
jobs: | ||
build: | ||
|
@@ -14,29 +14,26 @@ jobs: | |
packages: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: | | ||
8 | ||
16 | ||
17 | ||
21 | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
|
||
- name: Build with Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: build | ||
run: ./gradlew build | ||
|
||
- name: Publish to GitHub | ||
uses: Apehum/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
github-generate-changelog: true | ||
github-prerelease: true | ||
|
||
changelog-file: changelog.md | ||
files-primary: build/libs/!(*-@(dev|sources|javadoc)).jar | ||
files-secondary: "" |
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: | ||
|
@@ -14,9 +14,9 @@ jobs: | |
packages: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: | | ||
|
@@ -25,12 +25,13 @@ jobs: | |
17 | ||
21 | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
|
||
- name: Build with Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: build | ||
run: ./gradlew build | ||
|
||
- name: Publish to Modrinth | ||
- name: Publish to Modrinth/CurseForge | ||
uses: Apehum/[email protected] | ||
with: | ||
name: 'pv-addon-replaymod' | ||
|
@@ -50,7 +51,6 @@ jobs: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
github-generate-changelog: false | ||
|
||
files-primary: build/libs/!(*-@(dev|sources|javadoc)).jar | ||
files-secondary: "" | ||
|
||
changelog-file: changelog.md |