File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 - name : Scripts Calc Formula - ${{ env.TARGET }} Bundle ${{ matrix.bundle }}
6464 run : ./scripts/calculate_formulas.sh
6565 - name : Scripts Install
66- run : ./scripts/osx/install.sh
66+ run : |
67+ ./scripts/osx/install.sh
68+ echo "$(brew --prefix)/bin" >> "$GITHUB_PATH"
69+ - name : Verify Homebrew Bash
70+ run : |
71+ command -v bash
72+ bash --version
6773 - name : ' Download artifacts'
6874 uses : actions/github-script@v9.0.0
6975 if : env.USE_ARTIFACT == 'true'
Original file line number Diff line number Diff line change @@ -13,15 +13,9 @@ ROOT=$(
1313) /../../
1414APOTHECARY_PATH=$ROOT /apothecary
1515
16- BUNDLE_NO=" $1 "
17- # Check if the argument is provided
18- if [ -z " ${BUNDLE_NO+x} " ]; then
19- echo " No argument provided."
20- export BUNDLE=1
21- else
22- echo " Argument 1: $BUNDLE_NO "
23- export BUNDLE=$BUNDLE_NO
24- fi
16+ BUNDLE_NO=" ${1:- ${BUNDLE:- 1} } "
17+ echo " Bundle: $BUNDLE_NO "
18+ export BUNDLE=" $BUNDLE_NO "
2519
2620export TARGET=osx
2721export ARCH=arm64
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+ set -e
3+
24# Silent update to prevent long logs
35
46if ! which realpath >& /dev/null; then
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /usr/ bin/env bash
22
33# Apothecary ROOT dir relative
44
@@ -85,7 +85,7 @@ move_libraries() {
8585
8686build_xcframework () {
8787 echo " build_xcframework"
88- ${SCRIPT_DIR} /build_xcframework.sh
88+ " ${SCRIPT_DIR} /build_xcframework.sh" " $BUNDLE "
8989 if [ $? -ne 0 ]; then
9090 echo " Error building $PLATFORM$ARCHE "
9191 exit 1
You can’t perform that action at this time.
0 commit comments