fix(ci): quoting issues (#1589)

This commit is contained in:
a-kenji 2022-07-15 12:35:36 +02:00 committed by GitHub
parent a99a5886c1
commit d1fa067713
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -47,4 +47,4 @@ jobs:
nix build .#zellij-msrv || nix build .#zellij-msrv --substituters 'https://cache.nixos.org' --extra-substituters '' nix build .#zellij-msrv || nix build .#zellij-msrv --substituters 'https://cache.nixos.org' --extra-substituters ''
- if: ${{ failure() }} - if: ${{ failure() }}
run: | run: |
echo "::error :: If this is the only ci step failing, it is likely that the MSRV needs to be bumped. echo "::error :: If this is the only ci step failing, it is likely that the MSRV needs to be bumped."

View file

@ -40,9 +40,9 @@ jobs:
- name: Set release tag - name: Set release tag
run: | run: |
if [ "$GITHUB_EVENT_NAME" == 'workflow_dispatch' ]; then if [ "$GITHUB_EVENT_NAME" == 'workflow_dispatch' ]; then
echo "RELEASE_TAG=main" >> $GITHUB_ENV echo "RELEASE_TAG=main" >> "$GITHUB_ENV"
else else
echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> "$GITHUB_ENV"
fi fi
- name: Checkout repository - name: Checkout repository