Skip to content

Commit 609cafe

Browse files
Update .github/setup-swift/action.yml
Co-authored-by: Aditya Sharad <[email protected]>
1 parent bfbd05f commit 609cafe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/setup-swift/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ runs:
1919
else # We do not run this step on Windows.
2020
PLATFORM="linux64"
2121
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 }')
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 }')"
2424
# Specify 5.7.0, otherwise setup Action will default to latest minor version.
2525
if [ $VERSION = "5.7" ]; then
2626
VERSION="5.7.0"

0 commit comments

Comments
 (0)