Skip to content

Commit 2734cd4

Browse files
ci: trigger the (new) correct gradle publishing tasks (#3252)
1 parent 844a1d2 commit 2734cd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
fi
3131
- name: Publish Release
3232
if: ${{ runner.os == 'Linux' && env.STATUS == 'release' && github.event_name == 'push' && github.ref == 'refs/heads/main'}}
33-
run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
33+
run: ./gradlew publishAggregationToCentralPortal
3434
env:
3535
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.CENTRAL_USERNAME }}
3636
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.CENTRAL_PASSWORD }}
3737
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
3838
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
3939
- name: Publish Snapshot
4040
if: ${{ runner.os == 'Linux' && env.STATUS != 'release' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
41-
run: ./gradlew publishAllPublicationsToMavenCentralRepository
41+
run: ./gradlew publishAggregationToCentralPortalSnapshots
4242
env:
4343
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.CENTRAL_USERNAME }}
4444
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.CENTRAL_PASSWORD }}

0 commit comments

Comments
 (0)