Skip to content

Commit

Permalink
fix publishing again
Browse files Browse the repository at this point in the history
  • Loading branch information
BluCobalt committed Apr 19, 2023
1 parent a7a8d1d commit ee2408c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: gradle/wrapper-validation-action@v1
- run: ./gradlew checkVersion build publish --stacktrace github curseforge modrinth
env:
MAVEN_PUBLISH_TOKEN: ${{ secrets.MAVEN_PUBLISH_TOKEN }}
MAVEN_PUBLISH_TOKEN: ${{ secrets.MAVEN_PUBLISH_CREDENTIALS }}
CURSE_API_KEY: ${{ secrets.CURSE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def getBranch() {

def static setupRepositories(RepositoryHandler repositories) {
def ENV = System.getenv()
if (ENV.MAVEN_PUBLISH_TOKEN) {
if (ENV.MAVEN_PUBLISH_CREDENTIALS) {
repositories.maven {
url 'https://maven.legacyfabric.net/'
credentials {
Expand Down

0 comments on commit ee2408c

Please sign in to comment.