File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 23
23
# build both the quick (x86_64) and complete (aarch64,x86_64,armv7) SDKs
24
24
# arch: ['x86_64', '']
25
25
# 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']
27
27
runs-on : ubuntu-24.04
28
28
steps :
29
29
- name : Checkout swift-docker
49
49
echo "TARGET_ARCHS=${{ matrix.arch }}" >> $GITHUB_ENV
50
50
echo "WORKDIR=${{ runner.temp }}/swift-android-sdk" >> $GITHUB_ENV
51
51
# 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
53
57
echo "SWIFT_TAG=${SWIFT_TAG}" >> $GITHUB_ENV
54
58
- name : Build Android SDK (Local)
55
59
if : ${{ matrix.build-type == 'local' }}
You can’t perform that action at this time.
0 commit comments