Skip to content

Commit

Permalink
github package auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoizo committed Nov 5, 2023
1 parent 403412e commit 23d0b73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
- name: Publish
run: ./gradlew publish
env:
GITHUB_PKG_USER: jsoizo
GITHUB_PKG_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PKG_USER: ${{ secrets.GH_PKG_USER }}
GH_PKG_TOKEN: ${{ secrets.GH_PKG_TOKEN }}
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ publishing {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/jsoizo/php-serialize-kt")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_PKG_USER")
password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_PKG_TOKEN")
username = project.findProperty("gpr.user") as String? ?: System.getenv("GH_PKG_USER")
password = project.findProperty("gpr.key") as String? ?: System.getenv("GH_PKG_TOKEN")
}
}
}
Expand Down

0 comments on commit 23d0b73

Please sign in to comment.