Skip to content

Commit

Permalink
Added new maven
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Apr 20, 2024
1 parent 8159dca commit 616e117
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ jobs:
uses: gradle/gradle-build-action@v2
env:
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
KARL_TOKEN: ${{ secrets.KARL_TOKEN }}
with:
arguments: build publish --stacktrace --no-daemon
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,15 @@ publishing {
}
}
}

if (ENV.KARL_TOKEN) {
maven {
url "https://mvn.krl.dev/releases"
credentials {
username = "lat"
password = "${ENV.KARL_TOKEN}"
}
}
}
}
}

0 comments on commit 616e117

Please sign in to comment.