Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkGoosik committed May 20, 2023
1 parent 2504699 commit 84eda8a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/publish-curseforge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,27 @@ jobs:
run: java -jar brachyura-bootstrap-0.jar build

- name: Publish artifacts to CurseForge
uses: Kir-Antipov/mc-publish@v3.2
uses: Kir-Antipov/mc-publish@v3.3
with:
curseforge-id: 521126
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}

files-primary: build/libs/!(*-@(dev|sources)).jar
files: build/libs/!(*-@(dev|sources)).jar

version-type: beta
loaders: |
fabric
quilt
game-versions: |
1.19.4
game-version-filter: releases

dependencies: |
fabric-api | depends | *
cloth-config | depends | *
fabric-api(required){modrinth:P7dR8mSH}{curseforge:306612}#(ignore:github)
cloth-config(required){modrinth:9s6osm5g}{curseforge:348521}#(ignore:github)
java: |
17
retry-attempts: 2
retry-delay: 10000
fail-mode: fail
14 changes: 8 additions & 6 deletions .github/workflows/publish-modrinth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,27 @@ jobs:
run: java -jar brachyura-bootstrap-0.jar build

- name: Publish artifacts to Modrinth
uses: Kir-Antipov/mc-publish@v3.2
uses: Kir-Antipov/mc-publish@v3.3
with:
modrinth-id: rI0hvYcd
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}

files-primary: build/libs/!(*-@(dev|sources)).jar
files: build/libs/!(*-@(dev|sources)).jar

version-type: beta
loaders: |
fabric
quilt
game-versions: |
1.19.4-rc3
game-version-filter: releases

dependencies: |
fabric-api | depends | *
cloth-config | depends | *
fabric-api(required){modrinth:P7dR8mSH}{curseforge:306612}#(ignore:github)
cloth-config(required){modrinth:9s6osm5g}{curseforge:348521}#(ignore:github)
java: |
17
retry-attempts: 2
retry-delay: 10000
fail-mode: fail
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"fabricloader": "*",
"fabric-api": "*",
"cloth-config": "*",
"minecraft": ">=1.20-beta.4",
"minecraft": ">=1.20-beta.4 <1.21",
"java": ">=17"
}
}

0 comments on commit 84eda8a

Please sign in to comment.