Skip to content

Commit fb5681b

Browse files
committed
Add build for swift-6.2-RELEASE
1 parent 571252e commit fb5681b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build_android_sdk.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# build both the quick (x86_64) and complete (aarch64,x86_64,armv7) SDKs
2424
#arch: ['x86_64', '']
2525
#swift-version: ['swift-6.2-RELEASE', 'swift-6.3-branch', 'development']
26-
swift-version: ['swift-6.2-branch', 'development']
26+
swift-version: ['swift-6.2-RELEASE', 'swift-6.2-branch', 'development']
2727
runs-on: ubuntu-24.04
2828
steps:
2929
- name: Checkout swift-docker
@@ -49,7 +49,11 @@ jobs:
4949
echo "TARGET_ARCHS=${{ matrix.arch }}" >> $GITHUB_ENV
5050
echo "WORKDIR=${{ runner.temp }}/swift-android-sdk" >> $GITHUB_ENV
5151
# fetch the tag associated with the latest published build for the specific Swift version
52-
SWIFT_TAG=$(curl -fsSL https://download.swift.org/${{ matrix.swift-version }}/ubuntu2404/latest-build.yml | grep '^dir: ' | cut -f 2 -d ' ')
52+
if [[ "${{ matrix.build-type }}" == *'-RELEASE' ]]; then
53+
SWIFT_TAG="${{ matrix.build-type }}"
54+
else
55+
SWIFT_TAG=$(curl -fsSL https://download.swift.org/${{ matrix.swift-version }}/ubuntu2404/latest-build.yml | grep '^dir: ' | cut -f 2 -d ' ')
56+
fi
5357
echo "SWIFT_TAG=${SWIFT_TAG}" >> $GITHUB_ENV
5458
- name: Build Android SDK (Local)
5559
if: ${{ matrix.build-type == 'local' }}

0 commit comments

Comments
 (0)