Skip to content

Commit

Permalink
Don't expect Swift baseline info on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
henrymercer committed Apr 5, 2023
1 parent 5da64f5 commit 519e38e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/__export-file-baseline-information.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion pr-checks/checks/export-file-baseline-information.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ steps:
path: "${{ runner.temp }}/results/javascript.sarif"
retention-days: 7
- name: Check results
env:
RUNNER_OS: ${{ matrix.os }}
shell: bash
run: |
cd "$RUNNER_TEMP/results"
expected_baseline_languages="cpp cs go java js py rb swift"
expected_baseline_languages="cpp cs go java js py rb"
if [[ "${RUNNER_OS}" != "windows-latest" ]]; then
expected_baseline_languages+=" swift"
fi
for lang in ${expected_baseline_languages}; do
rule_name="${lang}/baseline/expected-extracted-files"
Expand Down

0 comments on commit 519e38e

Please sign in to comment.