Skip to content

Commit

Permalink
remove quotes from NU_VERSION and NUPM_REVISION (#146)
Browse files Browse the repository at this point in the history
looking at the logs, it appears there might be extra quotes around the
Nushell version, i.e. `'nightly'` instead of just `nightly`.
let's try removing them.
  • Loading branch information
amtoine authored Dec 15, 2023
1 parent 5c173bb commit 9555b25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nupm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
echo "ref: ${{github.ref}}"
if [[ '${{ github.base_ref }}' == 'nightly' ]]; then
echo "NU_VERSION='nightly'" >> $GITHUB_ENV
echo "NUPM_REVISION='main'" >> $GITHUB_ENV
echo "NU_VERSION=nightly" >> $GITHUB_ENV
echo "NUPM_REVISION=main" >> $GITHUB_ENV
elif [[ '${{ github.ref }}' == 'refs/heads/nightly' ]]; then
echo "NU_VERSION='nightly'" >> $GITHUB_ENV
echo "NUPM_REVISION='main'" >> $GITHUB_ENV
echo "NU_VERSION=nightly" >> $GITHUB_ENV
echo "NUPM_REVISION=main" >> $GITHUB_ENV
else
echo "NU_VERSION=${{ inputs.nu_version }}" >> $GITHUB_ENV
echo "NUPM_REVISION=${{ inputs.nupm_revision }}" >> $GITHUB_ENV
Expand Down

0 comments on commit 9555b25

Please sign in to comment.