Skip to content

Commit ef51ec1

Browse files
authored
Merge pull request #1478 from github/update-v1.1.38-515828d9
Merge releases/v2 into releases/v1
2 parents 4b3fd91 + 6800116 commit ef51ec1

File tree

91 files changed

+1088
-814
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1088
-814
lines changed

.github/setup-swift/action.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "Set up Swift"
2+
description: Performs necessary steps to set up appropriate Swift version.
3+
inputs:
4+
codeql-path:
5+
required: true
6+
runs:
7+
using: "composite"
8+
steps:
9+
- name: Get Swift version
10+
id: get_swift_version
11+
# We don't support Swift on Windows or prior versions of CLI.
12+
if: "(runner.os != 'Windows') && (matrix.version == 'cached' || matrix.version == 'latest' || matrix.version == 'nightly-latest')"
13+
shell: bash
14+
env:
15+
CODEQL_PATH: ${{inputs.codeql-path}}
16+
run: |
17+
if [ $RUNNER_OS = "macOS" ]; then
18+
PLATFORM="osx64"
19+
else # We do not run this step on Windows.
20+
PLATFORM="linux64"
21+
fi
22+
SWIFT_EXTRACTOR_DIR="$("$CODEQL_PATH" resolve languages --format json | jq -r '.swift[0]')"
23+
VERSION="$("$SWIFT_EXTRACTOR_DIR/tools/$PLATFORM/extractor" --version | awk '/version/ { print $3 }')"
24+
# Specify 5.7.0, otherwise setup Action will default to latest minor version.
25+
if [ $VERSION = "5.7" ]; then
26+
VERSION="5.7.0"
27+
fi
28+
echo "version=$VERSION" | tee -a $GITHUB_OUTPUT
29+
- uses: swift-actions/setup-swift@194625b58a582570f61cc707c3b558086c26b723
30+
if: "(runner.os != 'Windows') && (matrix.version == 'cached' || matrix.version == 'latest' || matrix.version == 'nightly-latest')"
31+
with:
32+
swift-version: "${{steps.get_swift_version.outputs.version}}"

.github/workflows/__analyze-ref-input.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__autobuild-action.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__export-file-baseline-information.yml

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

.github/workflows/__extractor-ram-threads.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-custom-queries.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-autobuilder.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-custom-build-steps.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-legacy-workflow.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__init-with-registries.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy