Skip to content

Commit

Permalink
fixed deployment credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWiemer committed Apr 24, 2024
1 parent 8b75b68 commit 54f4729
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/buildDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Deploy ( to https://maven.pkg.github.com/janwiemer/jacis )
uses: gradle/gradle-build-action@v2
with:
arguments: publish --scan -Dreleasebuild=${{ github.event.inputs.release }} -Dusedateversion=true -DdeployUser=JanWiemer -DdeployPw=${{secrets.GITHUB_TOKEN}} -Ddeploy_repo_release=https://maven.pkg.github.com/janwiemer/jacis -Ddeploy_repo_snapshot=https://maven.pkg.github.com/janwiemer/jacis
arguments: publish --scan -Dreleasebuild=${{ github.event.inputs.release }} -Dusedateversion=true -DdeployUser=JanWiemer -DdeployPw=${{secrets.GITHUB_TOKEN}} -DdeployRepoRelease=https://maven.pkg.github.com/janwiemer/jacis -DdeployRepoSnapshot=https://maven.pkg.github.com/janwiemer/jacis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Determine Release versions
Expand Down
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ ext {
licenseName = "Apache-2.0 License"
licenseURL = "https://github.com/JanWiemer/jacis/blob/master/LICENSE"
isReleaseVersion = Boolean.getBoolean("releasebuild")
deployUser = System.properties.get("deployUser")
deployPw = System.properties.get("deployPw")
deploy_repo_release = System.properties.get("deploy_repo_release")
deploy_repo_snapshot = System.properties.get("deploy_repo_snapshot")
deploy_user = System.properties.get("deployUser")
deploy_pw = System.properties.get("deployPw")
deploy_repo_release = System.properties.get("deployRepoRelease")
deploy_repo_snapshot = System.properties.get("deployRepoSnapshot")
}

print '---------- JACIS BUILD -------- '
Expand Down Expand Up @@ -135,8 +135,8 @@ publishing {
repositories {
maven {
credentials {
username deployUser
password deployPw
username deploy_user
password deploy_pw
}
if (isReleaseVersion) {
url deploy_repo_release
Expand Down

0 comments on commit 54f4729

Please sign in to comment.