Skip to content

Commit

Permalink
Use PAT in build to read other GH package repos
Browse files Browse the repository at this point in the history
  • Loading branch information
markelliot committed Jul 28, 2021
1 parent 6b73d9b commit f5d292b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
- name: Publish
run: ./gradlew --no-daemon publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_READ_PACKAGES_TOKEN: ${{ secrets.GH_READ_PACKAGES_TOKEN }}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ allprojects {
url = uri("https://maven.pkg.github.com/markelliot/barista-tracing")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
password = System.getenv("GH_READ_PACKAGES_TOKEN")
}
}
mavenCentral()
Expand Down

0 comments on commit f5d292b

Please sign in to comment.