Skip to content

Commit

Permalink
debug publish
Browse files Browse the repository at this point in the history
  • Loading branch information
chen-annie committed Aug 1, 2023
1 parent 3f03706 commit afdfe91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- aec/debug-publish

jobs:
release:
Expand Down Expand Up @@ -34,11 +35,12 @@ jobs:
uses: gradle/gradle-build-action@v2

- name: Publish to Sonatype
if: ${{ steps.release.outputs.releases_created }}
# if: ${{ steps.release.outputs.releases_created }}
run: |
./gradlew publish
env:
SONATYPE_USERNAME: ${{ secrets.MODERN_TREASURY_SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.MODERN_TREASURY_SONATYPE_PASSWORD }}
GPG_SIGNING_KEY: ${{ secrets.MODERN_TREASURY_SONATYPE_GPG_SIGNING_KEY }}
GPG_SIGNING_KEY_ID: ${{ secrets.MODERN_TREASURY_SONATYPE_GPG_SIGNING_KEY_ID }}
GPG_SIGNING_PASSWORD: ${{ secrets.MODERN_TREASURY_SONATYPE_GPG_SIGNING_PASSWORD }}

0 comments on commit afdfe91

Please sign in to comment.