mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-02 21:29:47 +11:00
Pin dagger CLI to v0.2 (#81)
Since we published https://github.com/dagger/dagger/releases/tag/v0.3.6 (Nov. 30, 2022), this action started downloading that version (i.e. `latest`), which resulted in breakage, as described in the issue that this fixes. As soon as all tests pass and this gets the OK + merge, we should: 1. Cut a new release for this action (I am thinking v3.2.0) 2. Update the v3 tag to point to this new version That should fix this for all existing GitHub Actions users without any intervention on their part. Fixes https://github.com/dagger/dagger-for-github/issues/80 Signed-off-by: Gerhard Lazu <gerhard@dagger.io>
This commit is contained in:
parent
23fd2f48d1
commit
75549c92b9
6 changed files with 13 additions and 13 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
version:
|
||||
- latest
|
||||
- 0.2
|
||||
- 0.2.5
|
||||
steps:
|
||||
-
|
||||
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
version:
|
||||
- latest
|
||||
- 0.2
|
||||
- 0.2.5
|
||||
steps:
|
||||
-
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -87,13 +87,13 @@ Following inputs can be used as `step.with` keys
|
|||
> do test
|
||||
> ```
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
|------------------|--------|--------------|----------------------------------------------------------------------------------------|
|
||||
| `version` | String | `latest` | Dagger version (e.g., `v0.2.7`, `latest`, `https://github.com/dagger/dagger.git#main`) |
|
||||
| `cmds` | List | | List of Dagger commands |
|
||||
| `workdir` | String | `.` | Working directory (below repository root) |
|
||||
| `install-only` | Bool | `false` | Just install Dagger |
|
||||
| `cleanup` | Bool | `true` | Cleanup Dagger home folder at the end of a job |
|
||||
| Name | Type | Default | Description |
|
||||
|----------------|--------|---------|----------------------------------------------------------------------------------------|
|
||||
| `version` | String | `0.2` | Dagger version (e.g., `0.2.36`, `latest`, `https://github.com/dagger/dagger.git#main`) |
|
||||
| `cmds` | List | | List of Dagger commands |
|
||||
| `workdir` | String | `.` | Working directory (below repository root) |
|
||||
| `install-only` | Bool | `false` | Just install Dagger |
|
||||
| `cleanup` | Bool | `true` | Cleanup Dagger home folder at the end of a job |
|
||||
|
||||
## Development
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ branding:
|
|||
inputs:
|
||||
version:
|
||||
description: 'Dagger version'
|
||||
default: 'latest'
|
||||
default: '0.2'
|
||||
required: false
|
||||
args:
|
||||
description: 'Arguments to pass to Dagger'
|
||||
|
|
|
|||
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
|
@ -23,7 +23,7 @@ export interface Inputs {
|
|||
|
||||
export async function getInputs(): Promise<Inputs> {
|
||||
return {
|
||||
version: core.getInput('version') || 'latest',
|
||||
version: core.getInput('version') || '0.2',
|
||||
workdir: core.getInput('workdir') || '.',
|
||||
args: core.getInput('args'),
|
||||
installOnly: core.getBooleanInput('install-only'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue