diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index ce039a3..b7820d9 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -17,8 +17,8 @@ jobs: java-version: '8' - name: Publish to Github run: | - ./gradlew publish -i -Pgpr.repo=$${{ vars.GHP_REPO }} - mvn deploy -Pgithub -DaltDeploymentRepository=releaseRepository::default::${{ vars.GHP_REPO }} + ./gradlew publish -i "-Pgpr.repo=$${{ vars.GHP_REPO }}" + mvn deploy -Pgithub "-DaltDeploymentRepository=releaseRepository::default::${{ vars.GHP_REPO }}" shell: bash env: GHP_USERNAME: ${{ secrets.GHP_USERNAME }}