From a134d74ca28a7500e20fe8cbfe074fce69e3e448 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 2 Aug 2022 08:56:16 +0200 Subject: [PATCH] ci: Downcase 'build_type' now uses a GitHub action --- .github/workflows/ci-test-package-cmake.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-test-package-cmake.yml b/.github/workflows/ci-test-package-cmake.yml index d14e6d3a..2a814997 100644 --- a/.github/workflows/ci-test-package-cmake.yml +++ b/.github/workflows/ci-test-package-cmake.yml @@ -114,9 +114,10 @@ jobs: steps: - name: Downcase 'build_type' - run: | - build_type=${{ matrix.build_type }} - echo "build_type=${build_type,,}" >> ${GITHUB_ENV} + id: build_type + uses: ASzc/change-string-case-action@v2 + with: + string: ${{ matrix.build_type }} - uses: actions/checkout@v2 - name: Cache Conan data uses: actions/cache@v2 @@ -217,7 +218,7 @@ jobs: shell: bash working-directory: src run: | - cmake --build --preset ${build_type} --target install + cmake --build --preset ${{ steps.build_type.outputs.lowercase }} --target install - name: Provide dependencies for test_package shell: bash working-directory: test_package