prepare 1.7.0

pull/19/head 1.7.0
Marcus Pöhls 2023-09-04 04:16:41 +02:00
parent 557d48f3e4
commit 6dc7a5eeaf
2 changed files with 11 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# 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
@ -8,6 +8,7 @@
### 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

View File

@ -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 }}
@ -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 }}
@ -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
@ -137,7 +137,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-container-name: redis-auth-token-cache
@ -145,6 +145,7 @@ jobs:
- name: …
```
### Remove container when exit
Starting in v1.6.0, when running this action on a self-hosted runner, its helpful to remove the container so its name wont conflict:
@ -162,7 +163,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-remove-container: true # false by default
@ -170,6 +171,7 @@ jobs:
- name: …
```
### Using Authentication
Starting in v1.7.0, You can start the Redis with Authentication using the `redis-password` input:
@ -187,7 +189,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-password: 'password'
@ -195,6 +197,7 @@ jobs:
- name: …
```
## License
MIT © [Supercharge](https://superchargejs.com)