Skip to content

Commit da1c13e

Browse files
committed
Fix build for swift-6.2-RELEASE
1 parent fb5681b commit da1c13e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build_android_sdk.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
#arch: ['x86_64']
2323
# build both the quick (x86_64) and complete (aarch64,x86_64,armv7) SDKs
2424
#arch: ['x86_64', '']
25-
#swift-version: ['swift-6.2-RELEASE', 'swift-6.3-branch', 'development']
2625
swift-version: ['swift-6.2-RELEASE', 'swift-6.2-branch', 'development']
2726
runs-on: ubuntu-24.04
2827
steps:
@@ -49,8 +48,8 @@ jobs:
4948
echo "TARGET_ARCHS=${{ matrix.arch }}" >> $GITHUB_ENV
5049
echo "WORKDIR=${{ runner.temp }}/swift-android-sdk" >> $GITHUB_ENV
5150
# fetch the tag associated with the latest published build for the specific Swift version
52-
if [[ "${{ matrix.build-type }}" == *'-RELEASE' ]]; then
53-
SWIFT_TAG="${{ matrix.build-type }}"
51+
if [[ "${{ matrix.swift-version }}" == *'-RELEASE' ]]; then
52+
SWIFT_TAG="${{ matrix.swift-version }}"
5453
else
5554
SWIFT_TAG=$(curl -fsSL https://download.swift.org/${{ matrix.swift-version }}/ubuntu2404/latest-build.yml | grep '^dir: ' | cut -f 2 -d ' ')
5655
fi

0 commit comments

Comments
 (0)