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 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
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' }}
You can’t perform that action at this time.
0 commit comments