Fix Swift PR Checks on nightly-latest CLI (#1696)

This commit is contained in:
Angela P Wen 2023-05-24 09:59:40 -07:00 committed by GitHub
parent 1245696032
commit 8c923c00a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 55 additions and 72 deletions

View file

@ -66,7 +66,9 @@ steps:
fi
- name: Check language autodetect for Swift
if: env.CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT == 'true'
if: >-
env.CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT == 'true' ||
(runner.os != 'Windows' && matrix.version == 'nightly-latest')
shell: bash
run: |
SWIFT_DB=${{ fromJson(steps.analysis.outputs.db-locations).swift }}