Skip to content

Commit 7ba18b4

Browse files
authored
Merge pull request vlang#14 from cadamsdev/fix/caching
feat: cache V executable to speed up subsequent runs
2 parents f933b74 + 9e22eac commit 7ba18b4

File tree

10 files changed

+62943
-7612
lines changed

10 files changed

+62943
-7612
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ GitHub Action that allows you to setup a V environment.
4949

5050
# Target architecture for V to use. Examples: linux, macos, windows. Will use system architecture by default.
5151
architecture: ''
52+
53+
# Cache the V executable to speed up subsequent runs.
54+
# Only applies when the `version` input is specified.
55+
# Default: true
56+
cache: true
5257
```
5358
5459
## Output

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ inputs:
2727
default: 'false'
2828
architecture:
2929
description: 'Target architecture for V to use. Examples: linux, macos, windows. Will use system architecture by default.'
30+
cache:
31+
description: 'Cache the V executable to speed up subsequent runs. Only applies when the version input is specified.'
32+
default: 'true'
3033
outputs:
3134
bin-path:
3235
description: 'Path to the directory that contains the V binary'

0 commit comments

Comments
 (0)