Skip to content

Commit

Permalink
Merge pull request #85 from dagger/jpadams-with-example
Browse files Browse the repository at this point in the history
Add --with example to README
  • Loading branch information
jpadams authored Feb 13, 2023
2 parents ff0c9f2 + 3b0cb23 commit 97a086c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97a086c

Please sign in to comment.