From 60611b1d746356a0dfc0ba9b34fff8ff8eebe380 Mon Sep 17 00:00:00 2001 From: Vladimir Petko Date: Fri, 18 Oct 2024 21:50:56 +1300 Subject: [PATCH] fix(github-release): quote variables quote url variable Signed-off-by: Vladimir Petko --- .github/workflows/release-github.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}