Skip to content

Commit

Permalink
Remove accidental curl line
Browse files Browse the repository at this point in the history
  • Loading branch information
sarg3nt committed May 25, 2024
1 parent 4f98a80 commit a4f3bae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
os:
# See: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
- ubuntu-latest
- macos-12 # Intel
- macos-latest # M series
#- macos-12 # Intel
#- macos-latest # M series
# - windows-latest # broken
runs-on: ${{ matrix.os }}
steps:
Expand Down
7 changes: 2 additions & 5 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,10 @@ download_release() {

echo "* Downloading $TOOL_NAME release $version..."
curl "${curl_opts[@]}" -o "$download_file" -C - "$url" || fail "Could not download $url"


curl -fsSL -o /tmp/asdf.kB3Z/downloads/micro/2.0.13/micro.tar.gz -C - https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux64.tar.gz

case "$extension" in
"zip") unzip -j "$download_file" -d "micro-$version" ;;
"tar.gz") tar -xvzf "$download_file" "micro-$version/micro" ;;
"zip") unzip -j "$download_file" -d "micro-$version" ;;
"tar.gz") tar -xvzf "$download_file" "micro-$version/micro" ;;
esac

mv "$ASDF_DOWNLOAD_PATH/micro-$version/micro" "$filename"
Expand Down

0 comments on commit a4f3bae

Please sign in to comment.