geode/.github/actions/setup-ninja/action.yml
ConfiG 39bb2dcf87
Cleanup the build.yml CI workflow (#939)
Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-06-24 16:14:26 -03:00

17 lines
453 B
YAML

name: Setup Ninja
description: Sets up Ninja
inputs:
host:
description: 'Host platform: win, mac or linux'
required: true
runs:
using: "composite"
steps:
- name: Setup
shell: bash
run: |
curl -L https://github.com/ninja-build/ninja/releases/latest/download/ninja-${{ inputs.host }}.zip -o ninja.zip
7z x ninja.zip -o"$GITHUB_WORKSPACE/ninja"
echo "$GITHUB_WORKSPACE/ninja" >> $GITHUB_PATH