Skip to content

Commit

Permalink
Stop running allow_on_mac.sh
Browse files Browse the repository at this point in the history
Seems to not do anything on GitHub actions?
  • Loading branch information
tchajed committed May 19, 2021
1 parent 23dc964 commit ec86ef2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions install-dafny.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -e
VERSION="$1"

if [ -z "$VERSION" ]; then
echo "No version provided" >&2
exit 1
echo "No version provided" >&2
exit 1
fi

cd
Expand All @@ -15,14 +15,11 @@ uname_s=$(uname -s)

os_name="ubuntu-16.04"
if [ "$uname_s" = "Darwin" ]; then
os_name="osx-10.14.2"
os_name="osx-10.14.2"
fi

wget -O dafny.zip "https://github.com/dafny-lang/dafny/releases/download/v${VERSION}/dafny-${VERSION}-x64-${os_name}.zip"
unzip dafny.zip
rm dafny.zip
if [ "$uname_s" = "Darwin" ]; then
~/dafny/allow_on_mac.sh
fi

echo "$HOME/dafny" >>"$GITHUB_PATH"

0 comments on commit ec86ef2

Please sign in to comment.