Skip to content

Commit

Permalink
Updated env names
Browse files Browse the repository at this point in the history
  • Loading branch information
vrudas committed Feb 11, 2024
1 parent 8f13fda commit b660176
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_build_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
- name: Execute gradle assemble
run: ./gradlew assemble
env:
USERNAME: ${{ env.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
REPO_USERNAME: ${{ env.USERNAME }}
REPO_PASSWORD: ${{ secrets.PASSWORD }}
8 changes: 4 additions & 4 deletions .github/workflows/run_lib_publish_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
echo "$USERNAME"
echo "$PASSWORD"
env:
USERNAME: ${{ env.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
REPO_USERNAME: ${{ env.USERNAME }}
REPO_PASSWORD: ${{ secrets.PASSWORD }}

- name: Publish dependency
run: ./gradlew :practice:open-api-generation:publish
env:
USERNAME: ${{ env.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
REPO_USERNAME: ${{ env.USERNAME }}
REPO_PASSWORD: ${{ secrets.PASSWORD }}
4 changes: 2 additions & 2 deletions practice/open-api-generation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ publishing {
url = uri("https://repsy.io/mvn/vrudas/j4w-13-packages/")

credentials {
username = System.getenv("USERNAME") ?: providers.gradleProperty("username").get()
password = System.getenv("PASSWORD") ?: providers.gradleProperty("password").get()
username = System.getenv("REPO_USERNAME") ?: providers.gradleProperty("username").get()
password = System.getenv("REPO_PASSWORD") ?: providers.gradleProperty("password").get()
}
}
}
Expand Down

0 comments on commit b660176

Please sign in to comment.