summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-12-10 21:45:45 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-12-11 20:42:45 +0100
commit6beba62d56ab31927ef1ad7671ab52800ba51103 (patch)
tree90d4a8b9e3e91c1b838ae1717fca25c1aa1f8d12 /README.md
parent72c83a013caed4f3f850731988734d125df6a720 (diff)
Accept literal text block for the ‘shell’ section
Changelog: Accept literal text block for the `shell` section
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index 0829ed6..ceb8255 100644
--- a/README.md
+++ b/README.md
@@ -17,22 +17,23 @@ Example:
```
job build:
- shell:
- - make
+ shell: |
+ ./configure
+ make
artifact bin:
path: build/example
job test:
uses:
- build.bin
- shell:
- - ./build/example test
+ shell: |
+ ./build/example test
```
Each job is a map with the following attributes:
`shell`
-: List of shell commands to perform the job
+: Shell script to perform the job.
`artifact <name>` (optional)
: Defines artifact `<name>` produced by this job. Is itself defined as a dictionary.