Skip to content

Commit

Permalink
add shell: bash where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrKvl committed Jan 6, 2025
1 parent b88a698 commit 23af06a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/build-docs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ runs:
using: "composite"
steps:
- name: Install deps
shell: bash
run: |
sudo apt install -y cmake
sudo apt install -y wget
Expand All @@ -44,13 +45,16 @@ runs:
echo "$(pwd)/doxygen-1.12.0/bin" >> $GITHUB_PATH
- name: CMake configuration
shell: bash
run: cmake ${{ inputs.cmake_configure_args }} -B ${{ inputs.build_dir }}

- name: CMake build
shell: bash
run: cmake --build ${{ inputs.build_dir }} --target ${{ inputs.cmake_target }}

- name: Get docs version
id: get-docs-version
shell: bash
run: |
subdir=$(basename $(find ${{ inputs.build_dir }}/${{ inputs.docs_dir }} -mindepth 1 -maxdepth 1 -type d | head -n 1))
echo "version=$subdir" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .github/actions/update-redirect-page/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ runs:
using: "composite"
steps:
- name: Generate redirect HTML
shell: bash
run: |
mkdir ${{ inputs.temp_dir }}
cat << EOF > ${{ inputs.temp_dir }}/${{ inputs.file_name }}
Expand Down
1 change: 1 addition & 0 deletions .github/actions/update-version-selector/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ runs:
steps:
- name: Discover versions
id: discover-versions
shell: bash
run: |
git fetch origin ${{ inputs.docs_branch }}
dirs=$(git ls-tree --name-only -d origin/${{ inputs.docs_branch }} | sort -rV)
Expand Down

0 comments on commit 23af06a

Please sign in to comment.