Skip to content

Commit

Permalink
Update common files (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
micronaut-build authored Feb 16, 2021
1 parent 8eb24ea commit 7246364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/central-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ jobs:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
GPG_FILE: ${{ secrets.GPG_FILE }}
PUBLISH_IN_2_STEPS: ${{ secrets.PUBLISH_IN_2_STEPS }}
run: |
echo $GPG_FILE | base64 -d > secring.gpg
if [ -z ${PUBLISH_IN_2_STEPS+x} ]; then
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
else
./gradlew publishToSonatype && ./gradlew closeAndReleaseSonatypeStagingRepository
fi
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: ./gradlew publish docs --no-daemon
run: ./gradlew publishToSonatype docs --no-daemon
- name: Determine docs target repository
uses: haya14busa/action-cond@v1
id: docs_target
Expand Down

0 comments on commit 7246364

Please sign in to comment.