diff --git a/.github/workflows/nupm-tests.yml b/.github/workflows/nupm-tests.yml index 868c6b2..a1dab40 100644 --- a/.github/workflows/nupm-tests.yml +++ b/.github/workflows/nupm-tests.yml @@ -58,10 +58,10 @@ jobs: echo "target: ${{github.base_ref}}" echo "ref: ${{github.ref}}" - if [[ ${{ github.base_ref }} == 'nightly' ]]; then + if [[ '${{ github.base_ref }}' == 'nightly' ]]; then echo "NU_VERSION='nightly'" >> $GITHUB_ENV echo "NUPM_REVISION='main'" >> $GITHUB_ENV - elif [[ ${{ github.ref }} == 'refs/heads/nightly' ]]; then + elif [[ '${{ github.ref }}' == 'refs/heads/nightly' ]]; then echo "NU_VERSION='nightly'" >> $GITHUB_ENV echo "NUPM_REVISION='main'" >> $GITHUB_ENV else