Skip to content

Commit a900052

Browse files
committed
1 parent f312f93 commit a900052

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

Diff for: .github/workflows/integrate.yaml

+1-17
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,7 @@ jobs:
3434
runs-on: ${{ matrix.os }}
3535
steps:
3636
- uses: actions/checkout@v3
37-
- name: Install Ninja
38-
run: |
39-
case ${{ runner.os }} in
40-
Linux) ninja_os=linux ;;
41-
macOS) ninja_os=mac ;;
42-
Windows) ninja_os=win ;;
43-
esac
44-
url="https://github.com/ninja-build/ninja/releases/latest/download/ninja-$ninja_os.zip"
45-
curl -L -o ninja-$ninja_os.zip $url
46-
if [[ ${{ runner.os }} == 'Windows' ]]; then
47-
unzip ninja-$ninja_os.zip -d .
48-
export PATH=$PATH:"$(pwd -W)"
49-
else
50-
sudo unzip ninja-$ninja_os.zip -d /usr/local/bin/
51-
fi
52-
53-
ninja --version
37+
- uses: seanmiddleditch/gha-setup-ninja@master
5438
- name: Install Dependencies
5539
if: runner.os == 'Linux'
5640
run: |

0 commit comments

Comments
 (0)