Files
task/testdata/run_once_failure/Taskfile.yml
2026-08-11 22:09:25 +02:00

19 lines
304 B
YAML

version: '3'
silent: true
tasks:
default:
cmds:
- task: shared
ignore_error: true
# Joins the finished execution, and must inherit its error.
- task: shared
- echo "should not be reached"
shared:
run: once
cmds:
- echo "shared ran"
- exit 1