Skip to content

Commit

Permalink
chore: credentials to variable(2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dieppa committed Nov 26, 2024
1 parent a647356 commit bbf2533
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ jobs:
# - name: Build, unit and Integration tests
# run: ./gradlew clean build

- name: Perform publish
run: ./gradlew publish
env:
JRELEASER_MAVENCENTRAL_USERNAME: ${{ secrets.FLAMINGOCK_JRELEASER_MAVENCENTRAL_USERNAME }}
JRELEASER_MAVENCENTRAL_PASSWORD: ${{ secrets.FLAMINGOCK_JRELEASER_MAVENCENTRAL_PASSWORD }}

- name: Release to Maven Central portal
run: ./gradlew publish jreleaserFullRelease --no-daemon --stacktrace
env:
Expand Down
2 changes: 0 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ subprojects {
// JRELEASER_MAVENCENTRAL_PASSWORD

create("sonatype") {
username.set(mavenUsername)
password.set(mavenPassword)
active.set(Active.ALWAYS)
url.set("https://central.sonatype.com/api/v1/publisher")
stagingRepository("build/staging-deploy")
Expand Down

0 comments on commit bbf2533

Please sign in to comment.