Skip to content

Commit 6847106

Browse files
committed
2 parents d601554 + 8f6c415 commit 6847106

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup-netlogo/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ runs:
3434
echo \
3535
"Error: Invalid version format" \
3636
"('${{ inputs.version }}')." \
37-
"Use semantic versioning (e.g., '7.0.2') or use" \
37+
"Use semantic versioning (e.g., '7.0.4') or use" \
3838
"'release' to get the latest stable release."
3939
4040
exit 1
@@ -114,7 +114,7 @@ runs:
114114
cache_path="/opt/NetLogo ${NETLOGO_VERSION}"
115115
;;
116116
"macOS")
117-
cache_path="/Applications/NetLogo ${NETLOGO_VERSION}.app"
117+
cache_path="/Applications/NetLogo ${NETLOGO_VERSION}"
118118
;;
119119
"Windows")
120120
case ${RUNNER_ARCH} in
@@ -397,7 +397,7 @@ runs:
397397
sudo ln -sf "${netlogo_binary}" "/usr/local/bin/netlogo"
398398
;;
399399
"macOS")
400-
netlogo_binary="${NETLOGO_HOME}/NetLogo 7.0.3.app/Contents/MacOS/NetLogo 7.0.3"
400+
netlogo_binary="${NETLOGO_HOME}/NetLogo ${NETLOGO_VERSION}.app/Contents/MacOS/NetLogo ${NETLOGO_VERSION}"
401401
402402
sudo ln -sf "${netlogo_binary}" "/usr/local/bin/NetLogo"
403403
sudo ln -sf "${netlogo_binary}" "/usr/local/bin/netlogo"

0 commit comments

Comments
 (0)