Fix gha publish command

This commit is contained in:
Ben Woo 2024-11-16 15:27:32 +08:00 committed by GitHub
parent 562dece6f9
commit 656b318be3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,11 +76,11 @@ jobs:
if: steps.release.outputs.release_created == 'true'
uses: gradle/gradle-build-action@v2
with:
arguments: |
publish -x test \
-PmultiverseReleasesUsername=${{ secrets.REPOSILITE_REPO_USERNAME }} \
-PmultiverseReleasesPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }} \
-PmultiverseSnapshotsUsername=${{ secrets.REPOSILITE_REPO_USERNAME }} \
arguments: >
publish -x test
-PmultiverseReleasesUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
-PmultiverseReleasesPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
-PmultiverseSnapshotsUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
-PmultiverseSnapshotsPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
env:
GITHUB_VERSION: ${{ steps.release.outputs.publish_version }}