Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kizitonwose committed Jul 27, 2024
1 parent 4ba88c6 commit 9c25277
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
runs-on: macos-latest
if: github.repository == 'kizitonwose/Calendar'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
Expand All @@ -23,9 +22,9 @@ jobs:
gradle-home-cache-cleanup: true
- name: Deploy to Maven
run: ./gradlew publish
with:
mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
signingInMemoryKey: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY }}
signingInMemoryKeyId: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY_ID }}
signingInMemoryKeyPassword: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY_PASSWORD }}
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY_PASSWORD }}

0 comments on commit 9c25277

Please sign in to comment.