Skip to content

Commit

Permalink
Use new env var names
Browse files Browse the repository at this point in the history
  • Loading branch information
viral32111 committed Aug 4, 2023
1 parent 207629b commit 5ab1351
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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" )
}
}
}
Expand Down

0 comments on commit 5ab1351

Please # to comment.