Quote if expressions

This commit is contained in:
Peter Dimov
2020-11-20 01:50:13 +02:00
parent f50418192c
commit 3bc9bf61e0

View File

@@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup - name: Setup
if: !startsWith( matrix.os, 'windows-' ) if: "!startsWith( matrix.os, 'windows-' )"
run: | run: |
REF=${GITHUB_BASE_REF:-$GITHUB_REF} REF=${GITHUB_BASE_REF:-$GITHUB_REF}
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
@@ -64,7 +64,7 @@ jobs:
./b2 -d0 headers ./b2 -d0 headers
- name: Setup (Windows) - name: Setup (Windows)
if: startsWith( matrix.os, 'windows-' ) if: "startsWith( matrix.os, 'windows-' )"
shell: cmd shell: cmd
run: | run: |
set BOOST_BRANCH=develop set BOOST_BRANCH=develop