We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a5ef58 commit a80a9afCopy full SHA for a80a9af
action.yml
@@ -154,6 +154,10 @@ runs:
154
#SWIFT_VERSION="${LATEST_SNAPSHOT}"
155
# use the latest snapshot release
156
SWIFT_VERSION=$(cat ~/swift-versions.txt | grep -- '-SNAPSHOT' | head -n 1)
157
+ elif [[ "${SWIFT_VERSION}" == nightly-* ]]; then
158
+ # e.g., nightly-6.1 will match 6.1-DEVELOPMENT-SNAPSHOT-*
159
+ SWIFT_VERSION=$(echo ${SWIFT_VERSION} | sed 's;nightly-;;g')
160
+ SWIFT_VERSION=$(cat ~/swift-versions.txt | grep -- "${SWIFT_VERSION}-SNAPSHOT" | head -n 1)
161
else
162
# match "6.0" to "6.0.3"
163
# match "6.1" to "6.1-DEVELOPMENT-SNAPSHOT-2025-03-07-a"
0 commit comments