forked from mpusz/mp-units
ci: Downcase 'build_type' now uses a GitHub action
This commit is contained in:
9
.github/workflows/ci-test-package-cmake.yml
vendored
9
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -114,9 +114,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Downcase 'build_type'
|
- name: Downcase 'build_type'
|
||||||
run: |
|
id: build_type
|
||||||
build_type=${{ matrix.build_type }}
|
uses: ASzc/change-string-case-action@v2
|
||||||
echo "build_type=${build_type,,}" >> ${GITHUB_ENV}
|
with:
|
||||||
|
string: ${{ matrix.build_type }}
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Cache Conan data
|
- name: Cache Conan data
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
@@ -217,7 +218,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
working-directory: src
|
working-directory: src
|
||||||
run: |
|
run: |
|
||||||
cmake --build --preset ${build_type} --target install
|
cmake --build --preset ${{ steps.build_type.outputs.lowercase }} --target install
|
||||||
- name: Provide dependencies for test_package
|
- name: Provide dependencies for test_package
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: test_package
|
working-directory: test_package
|
||||||
|
Reference in New Issue
Block a user