Skip to content

Commit

Permalink
prepare 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuspoehls committed Sep 4, 2023
1 parent 557d48f commit 6dc7a5e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Changelog

## [1.7.0](https://github.com/supercharge/redis-github-action/compare/v1.6.0...v1.7.0) - 2023-08-12
## [1.7.0](https://github.com/supercharge/redis-github-action/compare/v1.6.0...v1.7.0) - 2023-09-04

### Added
- add `redis-password` for start Redis with Authentication

### Updated
- update versions in README


## [1.6.0](https://github.com/supercharge/redis-github-action/compare/v1.5.0...v1.6.0) - 2023-07-27

### Added
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Start Redis
uses: supercharge/redis-github-action@1.6.0
uses: supercharge/redis-github-action@1.7.0
with:
redis-version: ${{ matrix.redis-version }}

Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
steps:
- name: Start Redis
uses: supercharge/redis-github-action@1.6.0
uses: supercharge/redis-github-action@1.7.0
with:
redis-image: redis/redis-stack-server
redis-version: ${{ matrix.redis-version }}
Expand All @@ -111,7 +111,7 @@ jobs:
steps:
- name: Start Redis
uses: supercharge/redis-github-action@1.6.0
uses: supercharge/redis-github-action@1.7.0
with:
redis-version: ${{ matrix.redis-version }}
redis-port: 12345
Expand All @@ -137,14 +137,15 @@ jobs:
steps:
- name: Start Redis
uses: supercharge/redis-github-action@1.6.0
uses: supercharge/redis-github-action@1.7.0
with:
redis-version: ${{ matrix.redis-version }}
redis-container-name: redis-auth-token-cache
- name: …
```


### Remove container when exit
Starting in v1.6.0, when running this action on a self-hosted runner, it’s helpful to remove the container so its name won’t conflict:

Expand All @@ -162,14 +163,15 @@ jobs:
steps:
- name: Start Redis
uses: supercharge/redis-github-action@1.6.0
uses: supercharge/redis-github-action@1.7.0
with:
redis-version: ${{ matrix.redis-version }}
redis-remove-container: true # false by default
- name: …
```


### Using Authentication
Starting in v1.7.0, You can start the Redis with Authentication using the `redis-password` input:

Expand All @@ -187,14 +189,15 @@ jobs:
steps:
- name: Start Redis
uses: supercharge/redis-github-action@1.6.0
uses: supercharge/redis-github-action@1.7.0
with:
redis-version: ${{ matrix.redis-version }}
redis-password: 'password'
- name: …
```


## License
MIT © [Supercharge](https://superchargejs.com)

Expand Down

0 comments on commit 6dc7a5e

Please sign in to comment.