Skip to content

Commit

Permalink
Merge pull request #2 from vpa1977/github-publish
Browse files Browse the repository at this point in the history
chore: update github secret names
  • Loading branch information
vpa1977 authored Oct 18, 2024
2 parents 49fe36c + faf220c commit 34bb85a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
Expand Down

0 comments on commit 34bb85a

Please sign in to comment.