From 71336d8f1900c5c8ec8d068bbae085fa89e09eef Mon Sep 17 00:00:00 2001 From: Bart Thomee <11445373+bthomee@users.noreply.github.com> Date: Sat, 26 Jul 2025 19:13:06 -0400 Subject: [PATCH] Composite actions must have a shell defined in each step --- .github/actions/build/action.yml | 2 ++ .github/actions/conan-configure/action.yml | 4 ++++ .github/actions/conan-dependencies/action.yml | 2 ++ 3 files changed, 8 insertions(+) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index c3520a479f..6e005b5f0b 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -30,6 +30,7 @@ runs: using: composite steps: - name: CMake configure + shell: bash working-directory: ${{ inputs.build_dir }} run: | cmake \ @@ -41,6 +42,7 @@ runs: ${{ inputs.cmake_args }} \ .. - name: CMake build + shell: bash working-directory: ${{ inputs.build_dir }} run: | cmake --build . \ diff --git a/.github/actions/conan-configure/action.yml b/.github/actions/conan-configure/action.yml index 28a2963ada..0b577b2fb3 100644 --- a/.github/actions/conan-configure/action.yml +++ b/.github/actions/conan-configure/action.yml @@ -27,16 +27,19 @@ runs: using: composite steps: - name: Check configuration + shell: bash run: | echo "Checking Conan version." conan --version - name: Install Conan profile + shell: bash run: | echo "${{ inputs.conan_global_conf }}" >> $(conan config home)/global.conf conan config install conan/profiles/default -tf $(conan config home)/profiles/ echo "Installed Conan profile:" conan profile show - name: Add Conan remote + shell: bash run: | # Remove the remote if it already exists. This can occur on self-hosted # runners where the workspace is not cleaned up between runs. @@ -47,6 +50,7 @@ runs: conan remote add --index 0 ${{ inputs.conan_remote_name }} ${{ inputs.conan_remote_url }} echo "Added new conan remote '${{ inputs.conan_remote_name }}' at ${{ inputs.conan_remote_url }}." - name: Log into Conan remote + shell: bash run: | conan remote login ${{ inputs.conan_remote_name }} ${{ inputs.conan_remote_username }} --password "${{ inputs.conan_remote_password }}" conan remote list-users diff --git a/.github/actions/conan-dependencies/action.yml b/.github/actions/conan-dependencies/action.yml index d57169b746..1720d4c31a 100644 --- a/.github/actions/conan-dependencies/action.yml +++ b/.github/actions/conan-dependencies/action.yml @@ -26,6 +26,7 @@ runs: using: composite steps: - name: Install Conan dependencies + shell: bash run: | mkdir -p ${{ inputs.build_dir }} cd ${{ inputs.build_dir }} @@ -37,4 +38,5 @@ runs: --settings:all build_type=${{ inputs.build_type }} \ .. - name: Upload Conan dependencies + shell: bash run: conan upload '*' --confirm --check --remote ${{ inputs.conan_remote_name }}