diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index 399c09c..0be6ef5 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -35,9 +35,9 @@ jobs: - name: Publish to Github Packages id: deploy run: | - ./gradlew publish + ./gradlew publish -i shell: bash env: - GITHUB_USERNAME: ${{ secrets.GITHUB_USERNAME }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_REPO: $${ secrets.GITHUB_REPO }} + GITHUB_USERNAME: ${{ secrets.GHP_USERNAME }} + GITHUB_TOKEN: ${{ secrets.GHP_TOKEN }} + GITHUB_REPO: $${ secrets.GHP_REPO }} diff --git a/build.gradle.kts b/build.gradle.kts index 6c242a9..f33a212 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,10 +7,10 @@ allprojects { repositories { maven { name = "GitHubPackages" - url = uri(System.getenv("GITHUB_REPO") ?: "") + url = uri(System.getenv("GHP_REPO") ?: "") credentials { - username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_USERNAME") - password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN") + username = project.findProperty("gpr.user") as String? ?: System.getenv("GHP_USERNAME") + password = project.findProperty("gpr.key") as String? ?: System.getenv("GHP_TOKEN") } } }