Skip to content

Commit

Permalink
curl better
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Feb 13, 2024
1 parent 19ceb9f commit 8dba7aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ runs:
shell: bash
run: |
if [ ${{ steps.platform.outputs.id }} = "win" ]; then
curl -L https://github.com/ninja-build/ninja/releases/latest/download/ninja-win.zip > "ninja.zip"
curl -L https://github.com/ninja-build/ninja/releases/latest/download/ninja-win.zip -o ninja.zip
7z x ninja.zip -o"$GITHUB_WORKSPACE/ninja"
echo "$GITHUB_WORKSPACE/ninja" >> $GITHUB_PATH
elif [ ${{ steps.platform.outputs.id }} = "mac" ]; then
Expand All @@ -120,7 +120,7 @@ runs:
shell: bash
run: |
if [ ${{ steps.platform.outputs.id }} = "win" ]; then
curl -L https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/LLVM-17.0.6-win64.exe > "llvm-inst.exe"
curl -L https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/LLVM-17.0.6-win64.exe -o llvm-inst.exe
7z x llvm-inst.exe -ollvm bin/clang.exe bin/clang++.exe bin/lld-link.exe bin/llvm-rc.exe bin/*.dll lib/clang/*/include/*
echo "$GITHUB_WORKSPACE/llvm/bin" >> $GITHUB_PATH
else
Expand Down

0 comments on commit 8dba7aa

Please sign in to comment.