File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 99
99
# translate swift-version "latest" into our known latest version
100
100
if [ "${{ inputs.swift-version }}" == 'latest' ]; then
101
101
# fetch the most recent release tag from the toolchain repo
102
- LATEST_TAG=$(curl -fsSL -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" --retry-all-errors --retry 100 --retry-max-time 600 https://api.github.com/repos/skiptools/swift-android-toolchain/releases/latest | jq -r '.tag_name')
102
+ #LATEST_TAG=$(curl -fsSL -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" --retry-all-errors --retry 100 --retry-max-time 600 https://api.github.com/repos/skiptools/swift-android-toolchain/releases/latest | jq -r '.tag_name')
103
+ # disabled because it frequently gives "The requested URL returned error: 403"
104
+ LATEST_TAG="6.0.3"
103
105
echo "swift-version=${LATEST_TAG}" >> $GITHUB_OUTPUT
104
106
else
105
107
echo "swift-version=${{ inputs.swift-version }}" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments