mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Sudo rm/ln to replace pre-installed clang-format
This commit is contained in:
parent
5557df3d4e
commit
7bff55f740
4
.github/workflows/format-check.yml
vendored
4
.github/workflows/format-check.yml
vendored
@ -26,8 +26,8 @@ jobs:
|
||||
curl -L https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang+llvm-12.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz --output clang.tar.xz
|
||||
tar -xf clang.tar.xz
|
||||
mv clang+llvm-12.0.1-x86_64-linux-gnu-ubuntu- clang
|
||||
rm /usr/bin/clang-format
|
||||
ln -s /clang/bin/clang-format /usr/bin/clang-format
|
||||
sudo rm /usr/bin/clang-format
|
||||
sudo ln -s /clang/bin/clang-format /usr/bin/clang-format
|
||||
|
||||
- name: Install dotnet
|
||||
uses: actions/setup-dotnet@v1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user