Skip to content

Commit

Permalink
Use gnu-tar on Mac.
Browse files Browse the repository at this point in the history
  • Loading branch information
sighingnow committed Jan 17, 2021
1 parent 3f498f9 commit 502f79f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/libclang-macosx-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: install gnu-tar
run: |
brew install gnu-tar
- name: get llvm-project
run: |
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-$LLVM_VER/llvm-project-$LLVM_VER.tar.xz
Expand All @@ -29,7 +32,7 @@ jobs:
shasum -a512 libclang.dylib > libclang.dylib.$LLVM_VER.macosx-amd64.sha512sum
echo "Checksum is: "
cat libclang.dylib.$LLVM_VER.macosx-amd64.sha512sum
tar zcvf libclang.dylib.$LLVM_VER.macosx-amd64.tar.gz libclang.dylib libclang.dylib.$LLVM_VER.macosx-amd64.sha512sum
gtar zcvf libclang.dylib.$LLVM_VER.macosx-amd64.tar.gz libclang.dylib libclang.dylib.$LLVM_VER.macosx-amd64.sha512sum
shasum -a512 libclang.dylib.$LLVM_VER.macosx-amd64.tar.gz
- uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 502f79f

Please sign in to comment.