From abbbbf5f6d73fd255c18b5cac17573d5f3ccce77 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Fri, 8 Nov 2024 17:36:34 +0000 Subject: [PATCH] Fix export file baseline test Only set up Swift on macOS, since we only support Swift analysis on macOS. --- .github/workflows/__export-file-baseline-information.yml | 1 + pr-checks/checks/export-file-baseline-information.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index a7f7cf4c8..fc536873e 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -60,6 +60,7 @@ jobs: languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/.github/actions/setup-swift + if: runner.os == 'macOS' with: codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code diff --git a/pr-checks/checks/export-file-baseline-information.yml b/pr-checks/checks/export-file-baseline-information.yml index 759aef849..20e1d59b8 100644 --- a/pr-checks/checks/export-file-baseline-information.yml +++ b/pr-checks/checks/export-file-baseline-information.yml @@ -10,6 +10,7 @@ steps: languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/.github/actions/setup-swift + if: runner.os == 'macOS' with: codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code