diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c21c62..d86b694 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,8 +41,8 @@ jobs: - name: Build project uses: gradle/gradle-build-action@v2 env: - USERNAME: ${{ github.repository_owner }} - TOKEN: ${{ secrets.GITHUB_TOKEN }} + GHPKG_USER: ${{ github.repository_owner }} + GHPKG_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: arguments: build cache-disabled: true diff --git a/build.gradle.kts b/build.gradle.kts index 5119ac4..871ffa5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,8 +14,8 @@ repositories { maven { url = uri( "https://maven.pkg.github.com/viral32111/events" ) credentials { - username = project.findProperty( "ghpkg.user" ) as String? ?: System.getenv( "USER" ) - password = project.findProperty( "ghpkg.token" ) as String? ?: System.getenv( "TOKEN" ) + username = project.findProperty( "ghpkg.user" ) as String? ?: System.getenv( "GHPKG_USER" ) + password = project.findProperty( "ghpkg.token" ) as String? ?: System.getenv( "GHPKG_TOKEN" ) } } }