Skip to content

Commit

Permalink
Fix CurseForge publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Nov 11, 2023
1 parent 239c08b commit eea8b9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/gradle_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@ name: Gradle Build
on:
workflow_dispatch:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
build:
strategy:
matrix:
java: [ 17, 20 ]
java: [ 17, 21 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ tasks.register('curseforge', TaskPublishCurseForge) {
setGroup("publishing")

if (System.getenv("CURSEFORGE_TOKEN")) {
apiKey = System.getenv("CURSEFORGE_TOKEN")
apiToken = System.getenv("CURSEFORGE_TOKEN")
} else {
setEnabled(false)
return
Expand Down

0 comments on commit eea8b9e

Please sign in to comment.