Skip to content

Commit

Permalink
separate closing repo from publishing so it doesn't happen if publish…
Browse files Browse the repository at this point in the history
… half completes
  • Loading branch information
robfletcher committed Mar 27, 2021
1 parent 0622f88 commit 05d496b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@ jobs:
with:
java-version: 8
- name: Release to Sonatype
run: ./gradlew -Pversion=${GITHUB_REF:11} publish closeAndReleaseRepository
run: ./gradlew -Pversion=${GITHUB_REF:11} publish
env:
ORG_GRADLE_PROJECT_nexusUsername: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_nexusPassword: ${{ secrets.NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
- name: Release to Sonatype
run: ./gradlew -Pversion=${GITHUB_REF:11} closeAndReleaseRepository
env:
ORG_GRADLE_PROJECT_nexusUsername: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_nexusPassword: ${{ secrets.NEXUS_PASSWORD }}
- name: Publish site
run: ./gradlew -Pversion=${GITHUB_REF:11} -Penv=prod :site:orchidDeploy
env:
Expand Down

0 comments on commit 05d496b

Please sign in to comment.