From 5ae8f3d233f2679bcc0c34dfb267062e7ac3d3e4 Mon Sep 17 00:00:00 2001 From: Christian Torbidone Date: Sat, 31 Aug 2024 19:20:24 +0200 Subject: [PATCH] Try to release --- .github/workflows/gradle-publish.yml | 5 ++--- build.gradle.kts | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 3100a75..7e8a1f7 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -14,7 +14,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: self-hosted permissions: contents: read packages: write @@ -40,5 +40,4 @@ jobs: - name: Publish to GitHub Packages run: ./gradlew publish env: - REPOSITORY_USERNAME: ${{ github.actor }} - REPOSITORY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 221f30e..efdfa0d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -40,10 +40,10 @@ publishing { repositories { maven { name = "GitHub" - url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/permission-checker") + url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/sitemap") credentials { - username = System.getenv("REPOSITORY_USERNAME") - password = System.getenv("REPOSITORY_PASSWORD") + username = System.getenv("GITHUB_ACTOR") + password = System.getenv("GITHUB_TOKEN") } } }