From ef581d89f913976f810513b25145a11c745cad20 Mon Sep 17 00:00:00 2001 From: FranciscoPombal Date: Tue, 20 Oct 2020 00:20:55 +0100 Subject: [PATCH] set-env -> env files migration --- .github/workflows/ci.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 65a9b2caf0..5b156f6ddd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -63,26 +63,30 @@ jobs: - name: setup environment - static build if: matrix.build_variant == 'static' + shell: bash run: | - echo "::set-env name=LIBT_STATIC_RT::ON" - echo "::set-env name=LIBT_BSL::OFF" - echo "::set-env name=VCPKG_TRIPLET::x64-windows-static" - echo "::set-env name=BUILD_VARIANT::static" + echo "LIBT_STATIC_RT=ON" >> $GITHUB_ENV + echo "LIBT_BSL=OFF" >> $GITHUB_ENV + echo "VCPKG_TRIPLET=x64-windows-static" >> $GITHUB_ENV + echo "BUILD_VARIANT=static" >> $GITHUB_ENV - name: setup environment - don't build with deprecated functions if: matrix.deprecated_functions == 'no_depr_fun' + shell: bash run: | - echo "::set-env name=LIBT_DEPR_FUN::OFF" + echo "LIBT_DEPR_FUN=OFF" >> $GITHUB_ENV - name: setup environment - don't build tests if: matrix.build_tests == 'no_tests' + shell: bash run: | - echo "::set-env name=LIBT_TESTS::OFF" + echo "LIBT_TESTS=OFF" >> $GITHUB_ENV - name: setup environment - don't build with python bindings if: matrix.python_bindings == 'no_py_bindings' + shell: bash run: | - echo "::set-env name=LIBT_PY_BINDINGS::OFF" + echo "LIBT_PY_BINDINGS=OFF" >> $GITHUB_ENV # NOTE: MSVC tools must be in the path for the Ninja generator. Caveat: must use cmd - name: setup MSVC dev cmd