We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6dff34 commit 82dbde1Copy full SHA for 82dbde1
.github/actions/setup-swift/action.yml
@@ -24,10 +24,15 @@ runs:
24
VERSION="null"
25
else
26
VERSION="$("$SWIFT_EXTRACTOR_DIR/tools/$PLATFORM/extractor" --version | awk '/version/ { print $3 }')"
27
- # Specify 5.7.0, otherwise setup Action will default to latest minor version.
+ # Specify 5.x.0, otherwise setup Action will default to latest minor version.
28
if [ $VERSION = "5.7" ]; then
29
VERSION="5.7.0"
30
- fi
+ elif [ $VERSION = "5.8" ]; then
31
+ VERSION="5.8.0"
32
+ # setup-swift does not yet support v5.8.1 Remove this when it does.
33
+ elif [ $VERSION = "5.8.1" ]; then
34
35
+ fi
36
fi
37
echo "version=$VERSION" | tee -a $GITHUB_OUTPUT
38
0 commit comments