From 07fa763cc6cd7abb939d748eec52e3b762fa7e4c Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Thu, 2 Nov 2023 12:55:16 +0200 Subject: [PATCH] [SkipCI][CI] Attempt to properly pass optional variable from CI to gradle --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c8f8dc..74d613a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v4 - run: ./gradlew ${{ inputs.package }}:publishToMavenLocal \ - -PpackageVersion=${{ inputs.version }} \ + -PpackageVersion='${{ inputs.version }}' \ -PndkPath=${{ env.ANDROID_SDK_ROOT }}/ndk/${{ matrix.ndk }} \ -PlibraryType=${{ matrix.libraryType }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 394a7c7..644159f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,7 +59,7 @@ jobs: - run: ./gradlew \ ${{ inputs.PACKAGE }}:publishToMavenLocal \ - -PpackageVersion=${{ inputs.VERSION }} \ + -PpackageVersion='${{ inputs.VERSION }}' \ -PndkPath=${{ env.ANDROID_SDK_ROOT }}/ndk/${{ matrix.ndk }} \ -PlibraryType=${{ matrix.libraryType }} @@ -78,7 +78,7 @@ jobs: - run: ./gradlew -PrepoDescription=${{ env.REPO_DESCRIPTION }} \ findSonatypeStagingRepository -x initializeSonatypeStagingRepository \ ${{ inputs.PACKAGE }}:publishToSonatype \ - -PpackageVersion=${{ inputs.VERSION }} \ + -PpackageVersion='${{ inputs.VERSION }}' \ -PndkPath=${{ env.ANDROID_SDK_ROOT }}/ndk/${{ matrix.ndk }} \ -PlibraryType=${{ matrix.libraryType }} env: