From c4563a81b17d61785976aff72a6dfcdedd125ed1 Mon Sep 17 00:00:00 2001 From: mrAppleXZ Date: Sun, 17 May 2020 19:14:41 +0500 Subject: [PATCH] Fix publishing [x2] --- .github/workflows/master.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 7fa2fa7..0a0d896 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -26,7 +26,7 @@ jobs: shell: bash env: PGP_KEY_PRIVATE: ${{secrets.S_PGP_KEY_PRIVATE}} - - run: './gradlew --no-daemon publishRelease -PdevBuildNumber=${{ github.run_number }} -PpearxRepoUsername=${{ secrets.S_PEARX_REPO_USERNAME }} -PpearxRepoPassword=${{ secrets.S_PEARX_REPO_PASSWORD }} -Psigning.keyId=${{ secrets.S_PGP_KEY_PUBID }} -Psigning.password="${{ secrets.S_PGP_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=private.key -PgithubAccessToken="${{ secrets.S_GITHUB_RELEASE_TOKEN }}" -PsonatypeOssUsername="${{ secrets.S_SONATYPE_OSS_USERNAME }}" -PsonatypeOssPassword="${{ secrets.S_SONATYPE_OSS_PASSWORD }}" -Pmultigradle.publishHostExclusivesOnly=true' + - run: './gradlew --no-daemon publishRelease -PpearxRepoUsername=${{ secrets.S_PEARX_REPO_USERNAME }} -PpearxRepoPassword=${{ secrets.S_PEARX_REPO_PASSWORD }} -Psigning.keyId=${{ secrets.S_PGP_KEY_PUBID }} -Psigning.password="${{ secrets.S_PGP_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=private.key -PgithubAccessToken="${{ secrets.S_GITHUB_RELEASE_TOKEN }}" -PsonatypeOssUsername="${{ secrets.S_SONATYPE_OSS_USERNAME }}" -PsonatypeOssPassword="${{ secrets.S_SONATYPE_OSS_PASSWORD }}" -Pmultigradle.publishHostExclusivesOnly=true' check_deploy_windows: runs-on: windows-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" @@ -48,7 +48,7 @@ jobs: shell: bash env: PGP_KEY_PRIVATE: ${{secrets.S_PGP_KEY_PRIVATE}} - - run: 'CALL gradlew.bat --no-daemon publishRelease -PdevBuildNumber=${{ github.run_number }} -PpearxRepoUsername=${{ secrets.S_PEARX_REPO_USERNAME }} -PpearxRepoPassword=${{ secrets.S_PEARX_REPO_PASSWORD }} -Psigning.keyId=${{ secrets.S_PGP_KEY_PUBID }} -Psigning.password="${{ secrets.S_PGP_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=private.key -PgithubAccessToken="${{ secrets.S_GITHUB_RELEASE_TOKEN }}" -PsonatypeOssUsername="${{ secrets.S_SONATYPE_OSS_USERNAME }}" -PsonatypeOssPassword="${{ secrets.S_SONATYPE_OSS_PASSWORD }}" -Pmultigradle.publishHostExclusivesOnly=true' + - run: 'CALL gradlew.bat --no-daemon publishRelease -PpearxRepoUsername=${{ secrets.S_PEARX_REPO_USERNAME }} -PpearxRepoPassword=${{ secrets.S_PEARX_REPO_PASSWORD }} -Psigning.keyId=${{ secrets.S_PGP_KEY_PUBID }} -Psigning.password="${{ secrets.S_PGP_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=private.key -PgithubAccessToken="${{ secrets.S_GITHUB_RELEASE_TOKEN }}" -PsonatypeOssUsername="${{ secrets.S_SONATYPE_OSS_USERNAME }}" -PsonatypeOssPassword="${{ secrets.S_SONATYPE_OSS_PASSWORD }}" -Pmultigradle.publishHostExclusivesOnly=true' shell: cmd check_deploy_linux: runs-on: ubuntu-latest @@ -71,4 +71,4 @@ jobs: shell: bash env: PGP_KEY_PRIVATE: ${{secrets.S_PGP_KEY_PRIVATE}} - - run: './gradlew --no-daemon release -PdevBuildNumber=${{ github.run_number }} -PpearxRepoUsername=${{ secrets.S_PEARX_REPO_USERNAME }} -PpearxRepoPassword=${{ secrets.S_PEARX_REPO_PASSWORD }} -Psigning.keyId=${{ secrets.S_PGP_KEY_PUBID }} -Psigning.password="${{ secrets.S_PGP_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=private.key -PgithubAccessToken="${{ secrets.S_GITHUB_RELEASE_TOKEN }}" -PsonatypeOssUsername="${{ secrets.S_SONATYPE_OSS_USERNAME }}" -PsonatypeOssPassword="${{ secrets.S_SONATYPE_OSS_PASSWORD }}"' \ No newline at end of file + - run: './gradlew --no-daemon release -PpearxRepoUsername=${{ secrets.S_PEARX_REPO_USERNAME }} -PpearxRepoPassword=${{ secrets.S_PEARX_REPO_PASSWORD }} -Psigning.keyId=${{ secrets.S_PGP_KEY_PUBID }} -Psigning.password="${{ secrets.S_PGP_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=private.key -PgithubAccessToken="${{ secrets.S_GITHUB_RELEASE_TOKEN }}" -PsonatypeOssUsername="${{ secrets.S_SONATYPE_OSS_USERNAME }}" -PsonatypeOssPassword="${{ secrets.S_SONATYPE_OSS_PASSWORD }}"' \ No newline at end of file