mirror of
https://github.com/dagger/dagger-for-github.git
synced 2025-12-31 20:59:43 +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
|
||||
```
|
||||
|
||||
### 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
|
||||
|
||||
```yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue