Skip to content

Commit 0aeb59a

Browse files
committed
Remove Swift files in multi-language-autodetect workflow on Linux
Allows us to test autodetection on Linux, too
1 parent ee753b4 commit 0aeb59a

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/workflows/__multi-language-autodetect.yml

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/multi-language-autodetect.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,21 @@ steps:
99
if: runner.os == 'macOS' && matrix.version != 'nightly-latest'
1010
run: sudo xcode-select -s "/Applications/Xcode_16.app"
1111

12+
- name: Remove swift files on Linux
13+
if: runner.os == 'Linux'
14+
run: |
15+
set -eo
16+
rm -r codeql-swift-autobuild-test
17+
rm -r codeql-swift-autobuild-test.xcodeproj
18+
rm -r Sources
19+
rm -r swift-custom-build
20+
rm Package.swift
21+
1222
- uses: ./../action/init
1323
id: init
1424
with:
1525
db-location: "${{ runner.temp }}/customDbLocation"
16-
languages: ${{ runner.os == 'Linux' && 'cpp,csharp,go,java,javascript,python,ruby' || '' }}
26+
languages: ""
1727
tools: ${{ steps.prepare-test.outputs.tools-url }}
1828

1929
- name: Build code

0 commit comments

Comments
 (0)