forked from RoinujNosde/SimpleClans
-
Notifications
You must be signed in to change notification settings - Fork 0
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
8 changed files
with
431 additions
and
440 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
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: Publish to CurseForge | ||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
cache: 'maven' | ||
distribution: 'temurin' | ||
- name: Build with Maven | ||
run: ./mvnw -B package --file pom.xml | ||
- name: Upload artifact | ||
uses: itsmeow/curseforge-upload@v3 | ||
with: | ||
token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
project_id: 380814 | ||
game_endpoint: minecraft | ||
file_path: target/SimpleClans.jar | ||
changelog: ${{ github.event.release.body }} | ||
changelog_type: markdown | ||
display_name: ${{ github.event.release.tag_name }} | ||
game_versions: 11515,9974,9190,8849,8503,7915,7667,7330,7105,6588,630,591,585,531 | ||
release_type: release | ||
relations: vault:optionalDependency,worldguard:optionalDependency,grief-prevention:optionalDependency,plotsquared:optionalDependency |
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: Publish to Modrinth | ||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
cache: 'maven' | ||
distribution: 'temurin' | ||
- name: Build with Maven | ||
run: ./mvnw -B package --file pom.xml | ||
- name: Upload artifact | ||
uses: RubixDev/[email protected] | ||
with: | ||
token: ${{ secrets.MODRINTH_TOKEN }} | ||
project_id: quLDfyDl | ||
file_path: target/SimpleClans.jar | ||
changelog: ${{ github.event.release.body }} | ||
name: ${{ github.event.release.tag_name }} | ||
version: ${{ github.event.release.tag_name }} | ||
game_versions: 1.21,1.20,1.19,1.18,1.17,1.16,1.15,1.14,1.13,1.12,1.11,1.10,1.9,1.8 | ||
release_type: release | ||
loaders: spigot | ||
featured: true |
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,29 @@ | ||
name: Publish to Reposilite | ||
on: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
server-id: reposilite # Value of the distributionManagement/repository/id field of the pom.xml | ||
server-username: MAVEN_USERNAME | ||
server-password: MAVEN_PASSWORD | ||
cache: 'maven' | ||
distribution: 'temurin' | ||
- name: Build with Maven | ||
run: ./mvnw -B package --file pom.xml | ||
- name: Publish to Reposilite | ||
run: ./mvnw -B deploy | ||
env: | ||
MAVEN_USERNAME: simpleclans | ||
MAVEN_PASSWORD: ${{ secrets.REPOSILITE_TOKEN }} |
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.