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 73
73
TOOLCHAIN=${PWD}/usr
74
74
popd
75
75
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
78
79
fi
79
80
80
81
echo "TOOLCHAIN=${TOOLCHAIN}" >> $GITHUB_ENV
@@ -500,7 +501,7 @@ jobs:
500
501
501
502
# need to free up some space or else the emulator fails to launch:
502
503
# 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
504
505
505
506
chmod +x ~/test-toolchain.sh
506
507
You can’t perform that action at this time.
0 commit comments