Skip to content

Commit c4e8717

Browse files
committed
Add uri to publish and change token name
1 parent d019de2 commit c4e8717

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ jobs:
4343
- name: Publish to GitHub Packages
4444
run: ./gradlew publish
4545
env:
46-
USERNAME: ${{ github.actor }}
47-
TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
GITHUB_ACTOR: ${{ github.actor }}
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ publishing {
156156
repositories {
157157
maven {
158158
name = "GitHubPackages"
159-
url = "https://maven.pkg.github.com/miikaoskari/ae2-universal-press"
159+
url = uri("https://maven.pkg.github.com/miikaoskari/ae2-universal-press")
160160
credentials {
161161
username = System.getenv("GITHUB_ACTOR")
162162
password = System.getenv("GITHUB_TOKEN")

0 commit comments

Comments
 (0)