Skip to content

Commit

Permalink
Use tar, not unzip to extract bsc archive
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGlScott committed Feb 8, 2024
1 parent dca0a5c commit 9d83645
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ jobs:
- shell: bash
name: Install bsc
run: |
curl -o bsc.tar.gz -sL "https://github.com/B-Lang-org/bsc/releases/download/${{ env.BSC_VERSION }}/bsc-${{ env.BSC_VERSION }}-ubuntu-22.04.tar.gz"
unzip -o bsc.tar.gz
rm bsc.tar.gz
echo "$PWD/bsc/bin" >> $GITHUB_PATH
wget "https://github.com/B-Lang-org/bsc/releases/download/${{ env.BSC_VERSION }}/$BSC_DIR.tar.gz"
tar -xzf $BSC_DIR.tar.gz
rm $BSC_DIR.tar.gz
echo "$PWD/$BSC_DIR/bin" >> $GITHUB_PATH
env:
BSC_DIR: "bsc-${{ env.BSC_VERSION }}-ubuntu-22.04"

- shell: bash
name: Update
Expand Down

0 comments on commit 9d83645

Please sign in to comment.