Skip to content

Commit

Permalink
more settings for github package registrz
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdjulian committed Jul 3, 2023
1 parent 3ab107b commit 32abe9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ jobs:
with:
arguments: publishAllPublicationsToGitHubPackagesRepository
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ subprojects {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/cmdjulian/kirc")
credentials {
username = project.findProperty("gpr.user") as? String? ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") as? String? ?: System.getenv("TOKEN")
username = project.findProperty("gpr.user") as? String? ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") as? String? ?: System.getenv("GITHUB_TOKEN")
}
}
}
Expand Down

0 comments on commit 32abe9a

Please sign in to comment.