From 2e6a8e968d1523229a8367d1ab98cba4e9dd711e Mon Sep 17 00:00:00 2001 From: Senichenkov Date: Mon, 6 Jan 2025 16:08:50 +0300 Subject: [PATCH] Fix: use quotes in recently changed choice options --- .../install-dependencies/action.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/composite-actions/install-dependencies/action.yml b/.github/composite-actions/install-dependencies/action.yml index 6d37bb926..1b4e40fb4 100644 --- a/.github/composite-actions/install-dependencies/action.yml +++ b/.github/composite-actions/install-dependencies/action.yml @@ -48,17 +48,17 @@ runs: sudo apt-get update -y sudo apt-get install cmake build-essential -y shell: bash - if: inputs.install-build-tools == apt + if: inputs.install-build-tools == 'apt' - name: Install build tools using brew run: brew install make cmake shell: bash - if: inputs.install-build-tools == brew + if: inputs.install-build-tools == 'brew' - name: Install GCC toolset run: | sudo apt-get install gcc-10 g++-10 -y shell: bash - if: inputs.install-toolset == gcc + if: inputs.install-toolset == 'gcc' - name: Install Clang toolset (on Linux) # "all" option is needed to install libc++ and libc++abi # apt is hardcoded in llvm.sh, so we can't use it everywhere @@ -67,11 +67,11 @@ runs: chmod +x llvm.sh sudo ./llvm.sh 17 all shell: bash - if: inputs.install-toolset == clang-linux - - names: Install LLVM Clang toolset (on macOS) + if: inputs.install-toolset == 'clang-linux' + - name: Install LLVM Clang toolset (on macOS) run: brew install llvm@17 shell: bash - if: inputs.install-toolset == llvm-clang-macos + if: inputs.install-toolset == 'llvm-clang-macos' - name: Make lib directory run: | @@ -125,7 +125,7 @@ runs: ./bootstrap.sh --prefix=/usr sudo ./b2 install --prefix=/usr shell: bash - if: inputs.install-boost == gcc + if: inputs.install-boost == 'gcc' - name: Install Boost built with Clang (on Linux) run: | cd lib/boost @@ -134,7 +134,7 @@ runs: ./b2 toolset=clang cxxflags="-stdlib=libc++" linkflags="-stdlib=libc++" sudo ./b2 install --prefix=/usr shell: bash - if: inputs.install-boost == clang-linux + if: inputs.install-boost == 'clang-linux' - name: Install Boost built with LLVM Clang (on macOS) # b2 doesn't recognize custom compilers, so some trick is needed: # Also, /usr is read-only, so install into /usr/local @@ -146,11 +146,11 @@ runs: ./b2 toolset=clang cxxflags="-std=c++11 -stdlib=libc++" linkflags="-stdlib=libc++" sudo ./b2 install --prefix=/usr/local shell: bash - if: inputs.install-boost == llvm-clang-macos + if: inputs.install-boost == 'llvm-clang-macos' - name: Install Boost built with Apple Clang run: brew install boost shell: bash - if: inputs.install-boost == apple-clang + if: inputs.install-boost == 'apple-clang' - name: Download frozen uses: ./.github/composite-actions/download-library