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