Skip to content

Commit

Permalink
Merge pull request #3 from julienloizelet/feat/select-choice
Browse files Browse the repository at this point in the history
Feat/select choice
  • Loading branch information
julienloizelet authored Aug 7, 2023
2 parents 09a213f + dda2380 commit aad862d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-on-simple-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-20.04
env:
ADDON_GITHUB_URL: "julienloizelet/ddev-playwright"
ADDON_REF: "v2.0.1"
ADDON_REF: "v2.1.1"

steps:

Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
The [public API](https://semver.org/spec/v2.0.0.html#spec-item-1) of this project is defined by the `action.yaml` file.


---
## [v0.1.0](https://github.com/julienloizelet/ddev-add-on-test-init/releases/tag/v0.1.0) - 2023-08-07

### Changed

- Use choice (`stable`, `edge`, `HEAD`) for `ddev_version` input instead of a free string

---
## [v0.0.1](https://github.com/julienloizelet/ddev-add-on-test-init/releases/tag/v0.0.1) - 2023-07-10

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ _We will suppose here that you want to test your add-on with the stable version
You can add the following step in your workflow:

```yaml
- uses: julienloizelet/ddev-add-on-test-init@v0.0.1
- uses: julienloizelet/ddev-add-on-test-init@v0.1.0
with:
ddev_version: "stable"
```
Expand Down
8 changes: 6 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ description: "A Github Action to initialize DDEV add-on tests"
inputs:

ddev_version:
type: string
required: false
type: choice
required: true
default: "stable"
description: "DDEV Version to use"
options:
- stable
- edge
- HEAD


runs:
Expand Down

0 comments on commit aad862d

Please sign in to comment.