Skip to content

Commit

Permalink
still learning powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Dec 7, 2023
1 parent 046369b commit 8421a13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ runs:
run: |
${{ steps.setup-python.outputs.python-path }} -m venv "$env:GITHUB_ACTION_PATH/venv"
if ("${{ runner.os }}" -ceq "macOS" -or "${{ runner.os }}" -ceq "Linux") {
source "$env:GITHUB_ACTION_PATH/venv/bin/activate"
. "$env:GITHUB_ACTION_PATH/venv/bin/activate"
}
else {
"$env:GITHUB_ACTION_PATH/venv/Scripts/activate"
Expand All @@ -153,12 +153,12 @@ runs:
shell: pwsh
run: >-
if ("${{ runner.os }}" -ceq "macOS" -or "${{ runner.os }}" -ceq "Linux") {
source "$env:GITHUB_ACTION_PATH/venv/bin/activate"
. "$env:GITHUB_ACTION_PATH/venv/bin/activate"
}
else {
"$env:GITHUB_ACTION_PATH/venv/Scripts/activate"
}
cpp-linter
'cpp-linter
--style="${{ inputs.style }}"
--extensions=${{ inputs.extensions }}
--tidy-checks="${{ inputs.tidy-checks }}"
Expand All @@ -173,4 +173,4 @@ runs:
--ignore="${{ inputs.ignore }}"
--database=${{ inputs.database }}
--file-annotations=${{ inputs.file-annotations }}
--extra-arg="${{ inputs.extra-args }}"
--extra-arg="${{ inputs.extra-args }}"''

0 comments on commit 8421a13

Please sign in to comment.