We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cc52c1 commit aae39f1Copy full SHA for aae39f1
.evergreen/earthly.sh
@@ -32,6 +32,11 @@ if [[ "$OS_NAME" == "macos" ]]; then
32
fi
33
exe_path="$cache_dir/$exe_filename"
34
35
+if test -f "$exe_path" && ! "$exe_path" --version; then
36
+ echo "Failed to execute Earthly executable, removing and re-downloading"
37
+ rm "$exe_path"
38
+fi
39
+
40
# Download if it isn't already present
41
if ! test -f "$exe_path"; then
42
echo "Downloading $exe_filename $EARTHLY_VERSION"
0 commit comments