Skip to content

Commit

Permalink
Use string
Browse files Browse the repository at this point in the history
  • Loading branch information
ToppDev committed Aug 9, 2024
1 parent b037210 commit 766df7a
Showing 1 changed file with 14 additions and 19 deletions.
33 changes: 14 additions & 19 deletions .github/actions/check_tool_versions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,18 @@ description: 'Checks all tool versions'
inputs:
clangtidy:
required: false
type: boolean
default: false
default: 'false'
clangformat:
required: false
type: boolean
default: false
default: 'false'
documentation:
required: false
type: boolean
default: false
default: 'false'
coverage:
required: false
type: boolean
default: false
default: 'false'
compiler:
required: false
type: string
default: ''

runs:
Expand All @@ -46,10 +41,10 @@ runs:
if: ${{ runner.os == 'Windows' }}
- run: clang-tidy --version
shell: bash
if: ${{ inputs.clangtidy == true }}
if: ${{ inputs.clangtidy == 'true' }}
- run: clang-format --version
shell: bash
if: ${{ inputs.clangformat == true }}
if: ${{ inputs.clangformat == 'true' }}
- run: cmake --version
shell: bash
- run: conan --version
Expand All @@ -58,25 +53,25 @@ runs:
shell: bash
- run: gcovr --version
shell: bash
if: ${{ runner.os == 'Linux' && inputs.coverage == true }}
if: ${{ runner.os == 'Linux' && inputs.coverage == 'true' }}
- run: gcov --version
shell: bash
if: ${{ runner.os == 'Linux' && inputs.coverage == true }}
if: ${{ runner.os == 'Linux' && inputs.coverage == 'true' }}
- run: xml_grep --version
shell: bash
if: ${{ runner.os == 'Linux' && inputs.coverage == true }}
if: ${{ runner.os == 'Linux' && inputs.coverage == 'true' }}
- run: doxygen --version
shell: bash
if: ${{ inputs.documentation == true }}
if: ${{ inputs.documentation == 'true' }}
- run: dvips --version
shell: bash
if: ${{ inputs.documentation == true }}
if: ${{ inputs.documentation == 'true' }}
- run: gs --version
shell: bash
if: ${{ inputs.documentation == true }}
if: ${{ inputs.documentation == 'true' }}
- run: latex --version
shell: bash
if: ${{ inputs.documentation == true }}
if: ${{ inputs.documentation == 'true' }}
- run: command -v pdf2svg
shell: bash
if: ${{ inputs.documentation == true }}
if: ${{ inputs.documentation == 'true' }}

0 comments on commit 766df7a

Please sign in to comment.