Skip to content

Commit

Permalink
update signing
Browse files Browse the repository at this point in the history
  • Loading branch information
warting committed Jan 12, 2024
1 parent e331b46 commit 9798a79
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Auto deploy artifacts on release

on:
push:
branches:
- update_publishing
release:
types: [ published ]

Expand Down Expand Up @@ -45,14 +48,15 @@ jobs:
key: gradle-${{ hashFiles('checksum.txt') }}

- name: Publish application
# run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
run: ./gradlew publishAllPublicationsToMavenCentralRepository
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
#SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY }}

- name: Upload reports
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 9798a79

Please sign in to comment.