Skip to content

Commit 325c198

Browse files
authored
Update macOS version check from 13 to 15
1 parent a6fef69 commit 325c198

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/github-actions/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# platform-specific config here (also in setup.sh):
4-
if [ "${ImageOS}" == "macos13" ]; then
4+
if [ "${ImageOS}" == "macos15" ]; then
55
# Dir containing openstudio
66
export OS_NAME_WITH_PLUS=OpenStudio-${OPENSTUDIO_VERSION}${OPENSTUDIO_VERSION_EXT}+${OPENSTUDIO_VERSION_SHA}-Darwin-x86_64
77
export RUBYLIB="$HOME/$OS_NAME_WITH_PLUS/Ruby"
@@ -83,14 +83,14 @@ else
8383

8484
# Fix the shebang line in the bundle and bundler scripts
8585
echo "Fixing the shebang line in the bundle and bundler scripts"
86-
if [ "${ImageOS}" == "macos13" ]; then
86+
if [ "${ImageOS}" == "macos15" ]; then
8787
sed -i '' "1s|.*|#!${RUBY_PATH}|" $BUNDLE_PATH
8888
else
8989
sed -i "1s|.*|#!${RUBY_PATH}|" $BUNDLE_PATH
9090
fi
9191

9292
# Remove additional lines added by RubyGems
93-
if [ "${ImageOS}" == "macos13" ]; then
93+
if [ "${ImageOS}" == "macos15" ]; then
9494
sed -i '' '/_=_\\/,/#!\/usr\/bin\/env ruby/d' $BUNDLE_PATH
9595
else
9696
sed -i '/_=_\\/,/#!\/usr\/bin\/env ruby/d' $BUNDLE_PATH

0 commit comments

Comments
 (0)