-
Notifications
You must be signed in to change notification settings - Fork 116
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
62 changed files
with
190 additions
and
177 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,43 @@ | ||
name: Publish | ||
on: | ||
workflow_dispatch: | ||
push: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
fetch-tags: true | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'oracle' | ||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | ||
settings-path: ${{ github.workspace }} # location for the settings.xml file | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
- name: Publish | ||
run: ./gradlew publish | ||
env: | ||
MAVEN_USER: ${{ secrets.MAVEN_USER }} | ||
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
- name: CurseForge Publish | ||
run: ./gradlew curseforge -PcurseApiKey=${CURSE_API_KEY} | ||
env: | ||
CURSE_API_KEY: ${{ secrets.CURSE_API_KEY }} | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
continue-on-error: true | ||
- name: Modrinth Publish | ||
run: ./gradlew modrinth -PmodrinthToken=${MODRINTH_TOKEN} | ||
env: | ||
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
continue-on-error: 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
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ org.gradle.jvmargs=-Xmx3G | |
org.gradle.daemon=false | ||
|
||
# Project | ||
mod_version=9.1.0 | ||
mod_id=toughasnails | ||
mod_name=ToughAsNails | ||
mod_display_name=Tough As Nails | ||
|
@@ -14,6 +13,7 @@ mod_issues_url=https://github.com/Glitchfiend/ToughAsNails/issues | |
mod_git_url=https://github.com/Glitchfiend/ToughAsNails | ||
mod_scm_url=scm:git:[email protected]:Glitchfiend/ToughAsNails.git | ||
mod_curseforge_id=246391 | ||
mod_modrinth_id=tough-as-nails | ||
|
||
# Dependencies | ||
minecraft_version=1.20.2 | ||
|
Binary file not shown.
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,5 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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.