Skip to content

Commit

Permalink
Add modrinth publish repository support
Browse files Browse the repository at this point in the history
  • Loading branch information
SAGESSE-CN committed Jan 5, 2023
1 parent b33428c commit d191eae
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: Kir-Antipov/[email protected]
with:
name: armourersworkshop-fabric-${{ matrix.version }}-${{ steps.release-version.outputs.version }}.jar
version: ${{ steps.release-version.outputs.version }}
version: fabric-${{ matrix.version }}-${{ steps.release-version.outputs.version }}
version-type: alpha

files-primary: fabric/build/libs/!(*-@(dev-shadow|sources|javadoc|)).jar
Expand All @@ -65,14 +65,18 @@ jobs:
modrinth-id: y4JF3gXL
modrinth-token: ${{ secrets.AW_MODRINTH_TOKEN }}

curseforge-id: 229523
curseforge-token: ${{ secrets.AW_CURSEFORGE_TOKEN }}
# curseforge-id: 229523
# curseforge-token: ${{ secrets.AW_CURSEFORGE_TOKEN }}

retry-attempts: 3
retry-delay: 30000
fail-mode: warn

- name: Upload Forge ${{ matrix.version }}
uses: Kir-Antipov/[email protected]
with:
name: armourersworkshop-forge-${{ matrix.version }}-${{ steps.release-version.outputs.version }}.jar
version: ${{ steps.release-version.outputs.version }}
version: forge-${{ matrix.version }}-${{ steps.release-version.outputs.version }}
version-type: beta

files-primary: forge/build/libs/!(*-@(dev-shadow|sources|javadoc)).jar
Expand All @@ -86,5 +90,9 @@ jobs:
modrinth-id: y4JF3gXL
modrinth-token: ${{ secrets.AW_MODRINTH_TOKEN }}

curseforge-id: 229523
curseforge-token: ${{ secrets.AW_CURSEFORGE_TOKEN }}
# curseforge-id: 229523
# curseforge-token: ${{ secrets.AW_CURSEFORGE_TOKEN }}

retry-attempts: 3
retry-delay: 30000
fail-mode: warn

0 comments on commit d191eae

Please sign in to comment.