Skip to content

Commit

Permalink
Ninja 1.10 as default version (#3)
Browse files Browse the repository at this point in the history
* README update to ninja-1.10

* Update default ninja to 1.10 in actions.yml

* Update CI to ensure we work with both 1.9 and 1.10
  • Loading branch information
Sean Middleditch authored Aug 15, 2020
1 parent 2669ae9 commit 6ae37b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
image: [ 'windows-latest', 'ubuntu-latest', 'macos-latest' ]
version: [ '1.9.0' ]
version: [ '1.9.0', '1.10.0' ]

steps:
- uses: actions/checkout@master
Expand All @@ -23,4 +23,4 @@ jobs:
with:
version: '${{ matrix.version }}'
- shell: bash
run: '[ "$(ninja --version)" == "${{ matrix.version }}" ]'
run: '[ "$(ninja --version)" == "${{ matrix.version }}" ]'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Supports Windows, Linux, and macOS.

Inputs:

- `version`: Version of ninja to install (default: 1.9.0)
- `version`: Version of ninja to install (default: 1.10.0)
- `platform`: Override platform detection logic.
- `destination`: Target directory for download, added to `PATH`
(default: `${GITHUB_WORKSPACE}/ninja-build`)
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branding:
inputs:
version:
description: 'Version of ninja-build to install'
default: '1.9.0'
default: '1.10.0'
required: true
platform:
description: 'Override default platform with one of [win, mac, linux]'
Expand All @@ -15,4 +15,4 @@ inputs:
default: 'ninja-build'
runs:
using: 'node12'
main: 'dist/index.js'
main: 'dist/index.js'

0 comments on commit 6ae37b4

Please sign in to comment.