56
56
node-version : ${{ matrix.node-version }}
57
57
58
58
- name : Start Redis
59
- uses : supercharge/redis-github-action@1.6 .0
59
+ uses : supercharge/redis-github-action@1.7 .0
60
60
with :
61
61
redis-version : ${{ matrix.redis-version }}
62
62
85
85
86
86
steps:
87
87
- name: Start Redis
88
- uses: supercharge/redis-github-action@1.6 .0
88
+ uses: supercharge/redis-github-action@1.7 .0
89
89
with:
90
90
redis-image: redis/redis-stack-server
91
91
redis-version: ${{ matrix.redis-version }}
@@ -111,7 +111,7 @@ jobs:
111
111
112
112
steps:
113
113
- name: Start Redis
114
- uses: supercharge/redis-github-action@1.6 .0
114
+ uses: supercharge/redis-github-action@1.7 .0
115
115
with:
116
116
redis-version: ${{ matrix.redis-version }}
117
117
redis-port: 12345
@@ -137,14 +137,15 @@ jobs:
137
137
138
138
steps:
139
139
- name: Start Redis
140
- uses: supercharge/redis-github-action@1.6 .0
140
+ uses: supercharge/redis-github-action@1.7 .0
141
141
with:
142
142
redis-version: ${{ matrix.redis-version }}
143
143
redis-container-name: redis-auth-token-cache
144
144
145
145
- name: …
146
146
` ` `
147
147
148
+
148
149
# ## Remove container when exit
149
150
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 :
150
151
@@ -162,14 +163,15 @@ jobs:
162
163
163
164
steps:
164
165
- name: Start Redis
165
- uses: supercharge/redis-github-action@1.6 .0
166
+ uses: supercharge/redis-github-action@1.7 .0
166
167
with:
167
168
redis-version: ${{ matrix.redis-version }}
168
169
redis-remove-container: true # false by default
169
170
170
171
- name: …
171
172
` ` `
172
173
174
+
173
175
# ## Using Authentication
174
176
Starting in v1.7.0, You can start the Redis with Authentication using the `redis-password` input :
175
177
@@ -187,14 +189,15 @@ jobs:
187
189
188
190
steps:
189
191
- name: Start Redis
190
- uses: supercharge/redis-github-action@1.6 .0
192
+ uses: supercharge/redis-github-action@1.7 .0
191
193
with:
192
194
redis-version: ${{ matrix.redis-version }}
193
195
redis-password: 'password'
194
196
195
197
- name: …
196
198
` ` `
197
199
200
+
198
201
# # License
199
202
MIT © [Supercharge](https://superchargejs.com)
200
203
0 commit comments