Skip to content

Commit

Permalink
Adjust secret passing
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrwelch committed Aug 12, 2024
1 parent 6d18de9 commit 83aa7da
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,9 @@ jobs:

- name: Publish Snapshot to Mauro Snapshot Repository
if: success() && github.ref == 'refs/heads/develop'
env:
MauroSnapshotRepositoryUsername: ${{secrets.MAURO_SNAPSHOT_REPOSITORY_USERNAME}}
MauroSnapshotRepositoryPassword: ${{secrets.MAURO_SNAPSHOT_REPOSITORY_PASSWORD}}
run: |
./gradlew --stacktrace publishMavenJarPublicationToMauroSnapshotRepositoryRepository
./gradlew --stacktrace publishMavenJarPublicationToMauroSnapshotRepositoryRepository -DMauroSnapshotRepositoryUsername=${{secrets.MAURO_SNAPSHOT_REPOSITORY_USERNAME}} -DMauroSnapshotRepositoryPassword=${{secrets.MAURO_SNAPSHOT_REPOSITORY_PASSWORD}}
- name: Publish to maven Central
Expand All @@ -113,7 +111,7 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
run: |
./gradlew --stacktrace publishMavenJarPublicationToMavenCentralRepository
./gradlew --stacktrace publishMavenJarPublicationToMavenCentralRepository


Expand Down

0 comments on commit 83aa7da

Please sign in to comment.