Skip to content

Commit

Permalink
use different extracter
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Oct 12, 2023
1 parent 8bc0526 commit 4de2de0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ jobs:
url=$(echo $tarball | jq '.browser_download_url' | tr -d '"')
curl -fLo $name $url
tar xvf $name --directory /tmp
if [ "${{ env.EXT }}" = "tar.gz" ]; then
tar xvf $name --directory /tmp
if [ "${{ env.EXT }}" = "zip" ]; then
unzip $name -d /tmp
fi
cp /tmp/$name/nu $HOME/nu
- name: Show Nushell Version
Expand Down

0 comments on commit 4de2de0

Please sign in to comment.