mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-03 13:49:45 +11:00
Add --with example to README
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
This commit is contained in:
parent
ff0c9f2253
commit
3b0cb23d46
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
|
@ -61,6 +61,22 @@ steps:
|
||||||
run: dagger-cue version
|
run: dagger-cue version
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Install Only and `--with`
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Install Dagger
|
||||||
|
uses: dagger/dagger-for-github@v4
|
||||||
|
with:
|
||||||
|
install-only: true
|
||||||
|
|
||||||
|
-
|
||||||
|
name: Build a subdir example
|
||||||
|
run: |
|
||||||
|
dagger-cue do build --log-format plain -with 'actions:build:subdir: ${{env.SUBDIR}}'
|
||||||
|
```
|
||||||
|
|
||||||
### Multiple commands
|
### Multiple commands
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue