Skip to content

Commit 6aadcb7

Browse files
authored
Quiet test + default=latest (#5)
* test quiet: true * let default=latest
1 parent 6e1fff2 commit 6aadcb7

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
description: 'Matrix OSes'
1616
required: true
1717
default: '[ "ubuntu-latest", "windows-latest", "macos-latest" ]'
18+
quiet:
19+
description: 'silence annotation'
20+
required: false
21+
default: false
1822
jobs:
1923
setup-all-matrix:
2024
if: ${{ github.event.inputs.extra_tests == 'true' || github.event.inputs.extra_tests == 'matrix' }}
@@ -29,6 +33,7 @@ jobs:
2933
with:
3034
version: ${{ matrix.version }}
3135
cache: true
36+
quiet: ${{ github.event.inputs.quiet }}
3237
- name: Test Vulkan SDK Install
3338
shell: bash
3439
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This action automatically downloads and installs the Vulkan SDK development envi
1515
```
1616
1717
Parameters:
18-
- *version* (required): `N.N.N.N` style Vulkan SDK release number (or `latest` to use most recent official release).
18+
- *version* (optional; default=latest): `N.N.N.N` style Vulkan SDK release number (or `latest` to use most recent official release).
1919
- *cache* (optional; default=false): boolean indicating whether to cache the downloaded installer file between builds.
2020
- *quiet* (optional; default=false): when using `latest` an Annotation is added to builds with actual SDK number; set `quiet: true` to silence.
2121

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ branding:
66
inputs:
77
version:
88
description: 'official Vulkan SDK release version to use'
9-
default: ''
9+
default: 'latest'
1010
required: true
1111
cache:
1212
description: 'whether to cache the downloaded vulkan_sdk.* installer file (using github actions/cache)'

0 commit comments

Comments
 (0)