Skip to content

Commit

Permalink
Refinining action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ale32bit committed Nov 29, 2024
1 parent 9b48578 commit fe873e8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ env:
MINECRAFT_VERSION: 1.20.1
JAVA_VERSION: 17
VERSION: 0.1.4-alpha
RELEASE_NAME: Solstice 0.1.4-alpha
RELEASE_NAME: Solstice 0.1.4-alpha for Minecraft 1.20.1
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }}

permissions:
contents: write
Expand Down Expand Up @@ -40,20 +39,20 @@ jobs:
run: ./gradlew clean build

- name: Publish
uses: Kir-Antipov/mc-publish@v3.2
uses: Kir-Antipov/mc-publish@v3.3
with:
curseforge-id: 1149875
curseforge-token: "${{env.CURSEFORGE_TOKEN}}"
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}

modrinth-id: uIvrDZas
modrinth-token: "${{env.MODRINTH_TOKEN}}"
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}

github-tag: "v${{env.VERSION}}"
github-token: "${{env.GITHUB_TOKEN}}"
github-token: ${{ secrets.GITHUB_TOKEN }}

name: "${{env.RELEASE_NAME}}"
version: "${{env.VERSION}}"
version-type: release
version-type: alpha
changelog-file: CHANGELOG.md

loaders: fabric
Expand Down

0 comments on commit fe873e8

Please sign in to comment.