-
Notifications
You must be signed in to change notification settings - Fork 97
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
46 changed files
with
277 additions
and
197 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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
name: Publish on GitHub, CurseForge and Modrinth | ||
name: Publish action | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -14,42 +13,36 @@ env: | |
MINECRAFT_VERSION: 1.19.2 | ||
JAVA_VERSION: 17 | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK ${{ env.JAVA_VERSION }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: ${{ env.JAVA_VERSION }} | ||
distribution: 'temurin' | ||
- shell: bash | ||
env: | ||
VERSION: ${{ inputs.version }} | ||
run: | | ||
echo "$VERSION" > version | ||
mkdir -p ~/.gradle/caches/fabric-loom/assets | ||
- name: Setup and Build with Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: clean runData build | ||
- uses: GuillaumeFalourd/[email protected] | ||
with: | ||
commit_message: "ci: bump version" | ||
- uses: Kir-Antipov/[email protected] | ||
with: | ||
modrinth-id: TKB6INcv | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
curseforge-id: 401955 | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
name: ars_artifice-${{ env.MINECRAFT_VERSION }}-${{ inputs.version }} | ||
version: ${{ inputs.version }} | ||
game-versions: | | ||
${{ env.MINECRAFT_VERSION }} | ||
version-resolver: exact | ||
- name: checkout repository | ||
uses: actions/checkout@v2 | ||
- name: validate gradle wrapper | ||
uses: gradle/wrapper-validation-action@v1 | ||
- name: setup jdk 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: "17" | ||
- name: make gradle wrapper executable | ||
if: ${{ runner.os != 'Windows' }} | ||
run: chmod +x ./gradlew | ||
- name: build | ||
run: ./gradlew build | ||
- name: Publish Minecraft Mods Forge | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
curseforge-id: 401955 | ||
modrinth-id: TKB6INcv | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
files-primary: build/libs/!(*-@(dev|sources)).jar | ||
files-secondary: build/libs/*-@(dev|sources).jar | ||
version-type: release | ||
loaders: forge | ||
name: Ars Nouveau ${{ env.MINECRAFT_VERSION }}-${{ inputs.version }} | ||
version: ars_nouveau-${{ env.MINECRAFT_VERSION }}-${{ inputs.version }} | ||
game-version: ${{ env.MINECRAFT_VERSION }} | ||
changelog: "" |
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
4 changes: 2 additions & 2 deletions
4
src/generated/resources/.cache/c622617f6fabf890a00b9275cd5f643584a8a2c8
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,2 +1,2 @@ | ||
// 1.20.1 2023-08-12T11:44:12.0217754 Languages: en_us | ||
8b81f21b9e4b2c604392e84487004ea62cefadee assets/ars_nouveau/lang/en_us.json | ||
// 1.20.1 2023-09-13T20:59:28.615354 Languages: en_us | ||
abc74840f0a67421e1877e6033317db703052f98 assets/ars_nouveau/lang/en_us.json |
6 changes: 4 additions & 2 deletions
6
src/generated/resources/.cache/cdae075e2d4d58384fe4d2075f6d5323fe5baa69
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
24 changes: 24 additions & 0 deletions
24
src/generated/resources/data/ars_nouveau/recipes/tomes/darkfira_tome.json
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,24 @@ | ||
{ | ||
"type": "ars_nouveau:caster_tome", | ||
"color": 1703935, | ||
"flavour_text": "Encases your enemies or friends in a tomb of ice. Guaranteed to leave them shocked and confused.", | ||
"name": "Darkfira's Flash Freeze", | ||
"sound": { | ||
"family": "ars_nouveau:tempestry_family", | ||
"pitch": 1.9, | ||
"volume": 1.69 | ||
}, | ||
"spell": [ | ||
"ars_nouveau:glyph_projectile", | ||
"ars_nouveau:burst", | ||
"ars_nouveau:glyph_sensitive", | ||
"ars_nouveau:glyph_aoe", | ||
"ars_nouveau:glyph_aoe", | ||
"ars_nouveau:glyph_aoe", | ||
"ars_nouveau:glyph_conjure_water", | ||
"ars_nouveau:glyph_freeze", | ||
"ars_nouveau:glyph_lightning", | ||
"ars_nouveau:glyph_amplify" | ||
], | ||
"tome_type": "ars_nouveau:caster_tome" | ||
} |
24 changes: 24 additions & 0 deletions
24
src/generated/resources/data/ars_nouveau/recipes/tomes/ivy_tome.json
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,24 @@ | ||
{ | ||
"type": "ars_nouveau:caster_tome", | ||
"color": 16738740, | ||
"flavour_text": "Now you never have to be lonely again! You will always have a friend with you! Feel free to change their name to whatever you want! :D", | ||
"name": "Ivy", | ||
"sound": { | ||
"family": "ars_nouveau:fire_family", | ||
"pitch": 1.0, | ||
"volume": 1.0 | ||
}, | ||
"spell": [ | ||
"ars_nouveau:glyph_touch", | ||
"ars_nouveau:glyph_animate_block", | ||
"ars_nouveau:glyph_extend_time", | ||
"ars_nouveau:glyph_extend_time", | ||
"ars_nouveau:glyph_extend_time", | ||
"ars_nouveau:glyph_extend_time", | ||
"ars_nouveau:glyph_extend_time", | ||
"ars_nouveau:glyph_extend_time", | ||
"ars_nouveau:glyph_extend_time", | ||
"ars_nouveau:glyph_name" | ||
], | ||
"tome_type": "ars_nouveau:caster_tome" | ||
} |
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
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.