Skip to content

Commit

Permalink
use curl
Browse files Browse the repository at this point in the history
Signed-off-by: Max SCHMELLER <[email protected]>
  • Loading branch information
mojomex committed Dec 4, 2024
1 parent 5abf992 commit 8d20c29
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,12 @@ jobs:
env:
VERSION: 1.2.0
run: |
wget https://github.com/facebook/infer/releases/download/v${VERSION}/infer-linux-x86_64-v${VERSION}.tar.xz
tar -xvf infer-linux-x86_64-v${VERSION}.tar.xz
sudo mv infer-linux-x86_64-v${VERSION} /usr/local/infer
export BASENAME="infer-linux-x86_64-v${VERSION}"
export FILENAME="${BASENAME}.tar.xz"
curl -sSLO "https://github.com/facebook/infer/releases/download/v${VERSION}/${FILENAME}"
tar -xf "$FILENAME"
rm "$FILENAME"
sudo mv "$BASENAME" /usr/local/infer
echo "PATH=/usr/local/infer/bin:$PATH" >> $GITHUB_ENV
- name: Debug log
Expand Down

0 comments on commit 8d20c29

Please sign in to comment.