Skip to content

Commit 0bf70fd

Browse files
committed
GHA main: Simplify ninja installation
1 parent 24f8c4b commit 0bf70fd

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/actions/1-setup/action.yml

+2-14
Original file line numberDiff line numberDiff line change
@@ -125,20 +125,8 @@ runs:
125125
sudo ln -sf ld.lld /usr/bin/ld
126126
ld --version
127127
128-
- name: Install ninja
129-
if: inputs.arch != 'aarch64'
130-
uses: symmetryinvestments/gha-setup-ninja@v2
131-
- name: Install ninja (Linux AArch64)
132-
if: inputs.arch == 'aarch64'
133-
shell: bash
134-
run: |
135-
set -eux
136-
cd ..
137-
curl -fL --retry 3 --max-time 60 -O https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux-aarch64.zip
138-
mkdir ninja
139-
unzip ninja-linux-aarch64.zip -d ninja
140-
rm ninja-linux-aarch64.zip
141-
sudo ln -sf $PWD/ninja/ninja /usr/bin/ninja
128+
- name: Install ninja v1.12.1
129+
uses: Ahajha/gha-setup-ninja@69595b0cf872acdad8ce599142fbdc88724b9a2b
142130

143131
- name: Install D host compiler
144132
uses: dlang-community/setup-dlang@v1

0 commit comments

Comments
 (0)