Skip to content

Commit

Permalink
fix environment vars
Browse files Browse the repository at this point in the history
  • Loading branch information
nthxny committed Feb 15, 2024
1 parent c37189e commit ca7cec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
distribution: 'temurin'
java-version: 17
- name: Build artifacts
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CF_API_TOKEN }}
run: ./gradlew build publishMods -Pbuild.release=true
- name: Upload assets to GitHub
uses: AButler/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ publishMods {

curseforge {
projectId = "564239"
accessToken = providers.environmentVariable("CF_API_TOKEN")
accessToken = providers.environmentVariable("CURSEFORGE_TOKEN")
minecraftVersions.add("minecraft_version"())

incompatible {
Expand Down

0 comments on commit ca7cec7

Please sign in to comment.