Skip to content

Commit

Permalink
Quiet test + default=latest (#5)
Browse files Browse the repository at this point in the history
* test quiet: true

* let default=latest
  • Loading branch information
humbletim authored Feb 26, 2022
1 parent 6e1fff2 commit 6aadcb7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
description: 'Matrix OSes'
required: true
default: '[ "ubuntu-latest", "windows-latest", "macos-latest" ]'
quiet:
description: 'silence annotation'
required: false
default: false
jobs:
setup-all-matrix:
if: ${{ github.event.inputs.extra_tests == 'true' || github.event.inputs.extra_tests == 'matrix' }}
Expand All @@ -29,6 +33,7 @@ jobs:
with:
version: ${{ matrix.version }}
cache: true
quiet: ${{ github.event.inputs.quiet }}
- name: Test Vulkan SDK Install
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This action automatically downloads and installs the Vulkan SDK development envi
```
Parameters:
- *version* (required): `N.N.N.N` style Vulkan SDK release number (or `latest` to use most recent official release).
- *version* (optional; default=latest): `N.N.N.N` style Vulkan SDK release number (or `latest` to use most recent official release).
- *cache* (optional; default=false): boolean indicating whether to cache the downloaded installer file between builds.
- *quiet* (optional; default=false): when using `latest` an Annotation is added to builds with actual SDK number; set `quiet: true` to silence.

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branding:
inputs:
version:
description: 'official Vulkan SDK release version to use'
default: ''
default: 'latest'
required: true
cache:
description: 'whether to cache the downloaded vulkan_sdk.* installer file (using github actions/cache)'
Expand Down

0 comments on commit 6aadcb7

Please sign in to comment.