From a74c354869af6f47ebf063a7d76ac4b28af1ee16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souchet=20C=C3=A9line?= <4921914+csouchet@users.noreply.github.com> Date: Mon, 2 May 2022 15:36:49 +0200 Subject: [PATCH] [INFRA] Fix custom action with no parameter (#79) --- .github/actions/notify-PA-repo-of-new-version/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/notify-PA-repo-of-new-version/action.yml b/.github/actions/notify-PA-repo-of-new-version/action.yml index 8ebeb38..fd78e99 100644 --- a/.github/actions/notify-PA-repo-of-new-version/action.yml +++ b/.github/actions/notify-PA-repo-of-new-version/action.yml @@ -28,7 +28,7 @@ runs: - name: Set CLIENT_PAYLOAD shell: bash run: | - if [[ ${{ inputs.BUILD_DEMO_WORKFLOW_ID }} == '' && ${{ inputs.ARTIFACT_NAME }} == '' ]]; then + if [[ "${{ inputs.BUILD_DEMO_WORKFLOW_ID }}" == '' && "${{ inputs.ARTIFACT_NAME }}" == '' ]]; then echo "CLIENT_PAYLOAD=$( jq -n -c \ --arg v "${{ env.VERSION }}" \ '{ version: $v }' )" >> $GITHUB_ENV