salmon-scientist-57815
12/05/2024, 2:45 PMmicroscopic-river-74022
12/05/2024, 2:45 PMmicroscopic-river-74022
12/05/2024, 2:45 PMyaml
kind: Build
type: exec
name: your-build-name
disabled: false
include: []
Here's a breakdown of the key parts:
1. Set type: exec
to specify an exec build action Reference > Action-types > Build > exec Build ().
2. Use include: **]
to explicitly specify an empty list of files to include. This ensures that no files are included in the action's version calculation [Reference > Action-types > Run > exec Run** ().
3. Set disabled: false
to ensure the action is enabled Reference > Action-types > Build > exec Build ().
To make sure the action is only run once, you'll need to manage this at the project level, possibly by using Garden's caching mechanisms or by setting up appropriate dependencies.
Note that while this configuration will create a build action with no included files, it's important to consider whether this meets your specific use case. Typically, build actions are based on source files, so having nothing included is an unusual scenario.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------microscopic-river-74022
12/05/2024, 2:45 PM