Skip to content

Commit

Permalink
Rename MODRINTH_TOKEN -> MODRINGTH_KEY, CURSEFORGE_TOKEN -> CURSEFORG…
Browse files Browse the repository at this point in the history
…E_KEY
  • Loading branch information
Sollace committed Nov 27, 2023
1 parent 15b8d28 commit c12903c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/actions/release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ inputs:
description: "Should the Modpack Be Uploaded to CurseForge"
required: true

MODRINTH_TOKEN:
MODRINTH_KEY:
required: false
description: "Token used to uploading modpack to Modrinth"
MODRINTH_ID:
required: false
description: "ID used to uploading modpack to Modrinth"
CURSEFORGE_TOKEN:
CURSEFORGE_KEY:
required: false
description: "Token used to uploading modpack to Curseforge"
CURSEFORGE_ID:
Expand Down Expand Up @@ -100,7 +100,7 @@ runs:
uses: Kir-Antipov/[email protected]
with:
modrinth-id: ${{ inputs.MODRINTH_ID }}
modrinth-token: ${{ inputs.MODRINTH_TOKEN }}
modrinth-token: ${{ inputs.MODRINTH_KEY }}
loaders: ${{ env.loader }}
game-versions: ${{ env.game-version }}
changelog-file: CHANGELOG.release.*
Expand All @@ -120,7 +120,7 @@ runs:
uses: Kir-Antipov/[email protected]
with:
curseforge-id: ${{ inputs.CURSEFORGE_ID }}
curseforge-token: ${{ inputs.CURSEFORGE_TOKEN }}
curseforge-token: ${{ inputs.CURSEFORGE_KEY }}
loaders: ${{ env.loader }}
game-versions: ${{ env.game-version }}
changelog-file: CHANGELOG.release.*
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ jobs:
- name: Set Mod Vendors
id: set-mod-vendors
run: |
[[ ! -z "${{ secrets.CURSEFORGE_TOKEN }}" && ! -z "${{ secrets.CURSEFORGE_ID }}" ]] && echo "curseforge=true" >> $GITHUB_OUTPUT || echo "curseforge=false" >> $GITHUB_OUTPUT
[[ ! -z "${{ secrets.MODRINTH_TOKEN }}" && ! -z "${{ secrets.MODRINTH_ID }}" ]] && echo "modrinth=true" >> $GITHUB_OUTPUT || echo "modrinth=false" >> $GITHUB_OUTPUT
[[ ! -z "${{ secrets.CURSEFORGE_KEY }}" && ! -z "${{ secrets.CURSEFORGE_ID }}" ]] && echo "curseforge=true" >> $GITHUB_OUTPUT || echo "curseforge=false" >> $GITHUB_OUTPUT
[[ ! -z "${{ secrets.MODRINTH_KEY }}" && ! -z "${{ secrets.MODRINTH_ID }}" ]] && echo "modrinth=true" >> $GITHUB_OUTPUT || echo "modrinth=false" >> $GITHUB_OUTPUT
shell: bash
if: ${{ steps.release-please.outputs.releases_created }}

Expand All @@ -177,9 +177,9 @@ jobs:
upload-modrinth: ${{ steps.set-mod-vendors.outputs.modrinth }}
upload-curse: ${{ steps.set-mod-vendors.outputs.curseforge }}
MODRINTH_ID: ${{ secrets.MODRINTH_ID }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
MODRINTH_KEY: ${{ secrets.MODRINTH_KEY }}
CURSEFORGE_ID: ${{ secrets.CURSEFORGE_ID }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
CURSEFORGE_KEY: ${{ secrets.CURSEFORGE_KEY }}
if: |
steps.release-please.outputs.releases_created &&
(steps.set-mod-vendors.outputs.modrinth || steps.set-mod-vendors.outputs.curseforge)

0 comments on commit c12903c

Please sign in to comment.