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:
3939 DARWIN_TOOLCHAIN_INSTALLER_CERT : ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT }}
4040 DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64 : ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64 }}
4141 DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD : ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD }}
42- - run : |
42+ - name : Run ./utils/webassembly/distribute-latest-toolchain.sh
43+ run : |
4344 BRANCH="${{ github.event.inputs.branch }}"
45+ CHANNEL="${{ github.event.inputs.channel }}"
4446
45- case "${{ github.event.inputs.channel }} " in
47+ case "$CHANNEL " in
4648 "DEVELOPMENT")
4749 export TARGETS_TO_DIST="amazonlinux2_x86_64 ubuntu18.04_x86_64 ubuntu20.04_x86_64 ubuntu20.04_aarch64 macos_x86_64 macos_arm64"
4850 ./utils/webassembly/distribute-latest-toolchain.sh ${BRANCH:-swiftwasm} DEVELOPMENT "${{ github.event.inputs.toolchain_name }}"
6466 ./utils/webassembly/distribute-latest-toolchain.sh ${BRANCH:-swiftwasm-release/5.6} 5.6 "${{ github.event.inputs.toolchain_name }}"
6567 ;;
6668 *)
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 }}"
6971 ;;
7072 esac
7173
You can’t perform that action at this time.
0 commit comments