Skip to content

Commit

Permalink
Merge pull request #88 from passageidentity/PSG-5172
Browse files Browse the repository at this point in the history
Psg 5172
  • Loading branch information
SinaSeylani authored Dec 9, 2024
2 parents 89b1bfe + 4f6a91d commit 1fcec9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-flex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_TOKEN_ID }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
run: ./gradlew :passageflex:publish
run: ./gradlew :passageflex:publish

- name: Wait for Staging Repository to be Created
run: sleep 60
Expand Down
5 changes: 2 additions & 3 deletions passageflex/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,10 @@ publishing {
name = "OSSRH"
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username localProperties.getProperty('ossrhUsername')
password localProperties.getProperty('ossrhPassword')
username = project.findProperty("ossrhUsername") ?: System.getenv("OSSRH_USERNAME")
password = project.findProperty("ossrhPassword") ?: System.getenv("OSSRH_PASSWORD")
}
}
mavenLocal()
}
}

Expand Down

0 comments on commit 1fcec9c

Please sign in to comment.