Skip to content

Commit

Permalink
Download ninja from github, homebrew started returning 403 for ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov committed Apr 12, 2021
1 parent 7a42d3d commit 48fab4e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,19 @@ jobs:
- uses: actions/checkout@v1
- name: Install ninja on Linux
run: |
wget "https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip" && \
echo "d2fea9ff33b3ef353161ed906f260d565ca55b8ca0568fa07b1d2cab90a84a07 ninja-linux.zip" \
wget "https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip" && \
echo "763464859c7ef2ea3a0a10f4df40d2025d3bb9438fcb1228404640410c0ec22d ninja-linux.zip" \
| sha256sum -c
sudo unzip ninja-linux.zip -d /usr/local/bin && rm ninja-linux.zip
if: matrix.os == 'ubuntu-18.04'
shell: bash
- name: Install ninja on macOS
run: brew install ninja
run: |
brew update && brew install coreutils
wget "https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-mac.zip" && \
echo "6fa359f491fac7e5185273c6421a000eea6a2f0febf0ac03ac900bd4d80ed2a5 ninja-mac.zip" \
| sha256sum -c
sudo unzip ninja-mac.zip -d /usr/local/bin && rm ninja-mac.zip
if: matrix.os == 'macos-latest'
shell: bash
- name: Install Rust
Expand Down

0 comments on commit 48fab4e

Please sign in to comment.