File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,12 @@ jobs:
39
39
DARWIN_TOOLCHAIN_INSTALLER_CERT : ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT }}
40
40
DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64 : ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64 }}
41
41
DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD : ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD }}
42
- - run : |
42
+ - name : Run ./utils/webassembly/distribute-latest-toolchain.sh
43
+ run : |
43
44
BRANCH="${{ github.event.inputs.branch }}"
45
+ CHANNEL="${{ github.event.inputs.channel }}"
44
46
45
- case "${{ github.event.inputs.channel }} " in
47
+ case "$CHANNEL " in
46
48
"DEVELOPMENT")
47
49
export TARGETS_TO_DIST="amazonlinux2_x86_64 ubuntu18.04_x86_64 ubuntu20.04_x86_64 ubuntu20.04_aarch64 macos_x86_64 macos_arm64"
48
50
./utils/webassembly/distribute-latest-toolchain.sh ${BRANCH:-swiftwasm} DEVELOPMENT "${{ github.event.inputs.toolchain_name }}"
64
66
./utils/webassembly/distribute-latest-toolchain.sh ${BRANCH:-swiftwasm-release/5.6} 5.6 "${{ github.event.inputs.toolchain_name }}"
65
67
;;
66
68
*)
67
- echo "Unrecognised release channel: ${{ github.event.inputs.channel }} "
68
- exit 1
69
+ export TARGETS_TO_DIST="amazonlinux2_x86_64 ubuntu18.04_x86_64 ubuntu20.04_x86_64 ubuntu20.04_aarch64 macos_x86_64 macos_arm64 "
70
+ ./utils/webassembly/distribute-latest-toolchain.sh ${BRANCH:-swiftwasm-release/$CHANNEL} "$CHANNEL" "${{ github.event.inputs.toolchain_name }}"
69
71
;;
70
72
esac
71
73
You can’t perform that action at this time.
0 commit comments