diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f86bf09..66d5861 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1003,11 +1003,11 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Update --skip-publish if needed - if: | - ${{ inputs.release-skip-publish }} == "--skip-publish" shell: bash run: | - echo "SKIP_PUBLISH=--skip=publish" >> $GITHUB_ENV + if [[ "${{ inputs.release-skip-publish }}" == "--skip-publish" ]]; then + echo "SKIP_PUBLISH=--skip=publish" >> $GITHUB_ENV + fi - name: Generate the Release if: success() && startsWith(github.ref, 'refs/tags/')