Skip to content

Commit 274d8cb

Browse files
committed
Update publication authentication
1 parent 5e9cda9 commit 274d8cb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release-build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ jobs:
2222
- name: Publish artifacts
2323
run: ./gradlew publish -x check
2424
env:
25-
NEXUS_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
26-
NEXUS_USER: ${{ secrets.GITHUB_ACTOR }}
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2726

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ subprojects {
4343
maven {
4444
url = uri("https://maven.pkg.github.com/pledger-io/rest-application")
4545
credentials {
46-
username = System.getenv("NEXUS_USER")
47-
password = System.getenv("NEXUS_PASSWORD")
46+
username = System.getenv("GITHUB_ACTOR")
47+
password = System.getenv("GITHUB_TOKEN")
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)