mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-05 14:10:38 +11:00
chore: update README action 8.0.0, dagger latest
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
This commit is contained in:
parent
252049295e
commit
bdb568fee5
1 changed files with 5 additions and 4 deletions
|
|
@ -6,24 +6,25 @@
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Hello
|
- name: Hello
|
||||||
uses: dagger/dagger-for-github@v6
|
uses: dagger/dagger-for-github@8.0.0
|
||||||
with:
|
with:
|
||||||
module: github.com/shykes/daggerverse/hello
|
module: github.com/shykes/daggerverse/hello
|
||||||
call: hello --greeting Hola --name Jeremy
|
call: hello --greeting Hola --name Jeremy
|
||||||
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
|
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
|
||||||
|
version: "latest" # semver x.y.z
|
||||||
```
|
```
|
||||||
|
|
||||||
### `dagger run`
|
### `dagger run`
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Integration Test
|
- name: Integration Test
|
||||||
uses: dagger/dagger-for-github@v6
|
uses: dagger/dagger-for-github@8.0.0
|
||||||
with:
|
with:
|
||||||
workdir: db-service
|
workdir: db-service
|
||||||
verb: run
|
verb: run
|
||||||
args: node build.js
|
args: node build.js
|
||||||
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
|
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
|
||||||
version: "0.16.1"
|
version: "latest" # semver x.y.z
|
||||||
```
|
```
|
||||||
|
|
||||||
### Staying in sync with the `latest` version
|
### Staying in sync with the `latest` version
|
||||||
|
|
@ -34,7 +35,7 @@ By setting the version to `latest`, this action will install the latest version
|
||||||
|
|
||||||
| Key | Description | Required | Default |
|
| Key | Description | Required | Default |
|
||||||
| -------------- | ----------------------------------------------------------- | -------- | ------------------ |
|
| -------------- | ----------------------------------------------------------- | -------- | ------------------ |
|
||||||
| `version` | Dagger Version | false | '0.16.1' |
|
| `version` | Dagger Version | true | n/a use semver x.y.z or 'latest'
|
||||||
| `commit` | Dagger Dev Commit (overrides `version`) | false | '' |
|
| `commit` | Dagger Dev Commit (overrides `version`) | false | '' |
|
||||||
| `dagger-flags` | Dagger CLI Flags | false | '--progress plain' |
|
| `dagger-flags` | Dagger CLI Flags | false | '--progress plain' |
|
||||||
| `verb` | CLI verb (call, run, download, up, functions, shell, query) | false | 'call' |
|
| `verb` | CLI verb (call, run, download, up, functions, shell, query) | false | 'call' |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue