File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 7373 TOOLCHAIN=${PWD}/usr
7474 popd
7575 elif ${{ startsWith(matrix.os, 'ubuntu') }}; then
76- tar xf ~/$SWIFT_TAG-ubuntu24.04.tar.gz
77- TOOLCHAIN=${PWD}/$SWIFT_TAG-ubuntu24.04/usr
76+ SWIFT_TOOLS=$SWIFT_TAG-$(echo ${{ matrix.os }} | tr -d - )
77+ tar xf ~/$SWIFT_TOOLS.tar.gz
78+ TOOLCHAIN=${PWD}/$SWIFT_TOOLS/usr
7879 fi
7980
8081 echo "TOOLCHAIN=${TOOLCHAIN}" >> $GITHUB_ENV
@@ -500,7 +501,7 @@ jobs:
500501
501502 # need to free up some space or else the emulator fails to launch:
502503 # ERROR | Not enough space to create userdata partition. Available: 6086.191406 MB at /home/runner/.android/avd/../avd/test.avd, need 7372.800000 MB.
503- rm -rf ${{ steps.version.outputs.tag }}-ubuntu24.04 / */.build
504+ rm -rf ${{ steps.version.outputs.tag }}-$(echo ${{ matrix.os }} | tr -d - ) / */.build
504505
505506 chmod +x ~/test-toolchain.sh
506507
You can’t perform that action at this time.
0 commit comments