Skip to content

Commit 2ead5e3

Browse files
committed
chore: update action version across workflows and documentation
- Update the version of `appleboy/ssh-action` from `v1.2.1` to `v1.2.2` in multiple files - Modify the bug report template to reflect the updated action version - Change the action version in the stable workflow file - Adjust the action version in the README files for consistency across documentation - Ensure the action version is updated in both Chinese language README files Signed-off-by: appleboy <[email protected]>
1 parent a0a0326 commit 2ead5e3

File tree

5 files changed

+53
-53
lines changed

5 files changed

+53
-53
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: executing remote ssh commands using password
26-
uses: appleboy/[email protected].1
26+
uses: appleboy/[email protected].2
2727
with:
2828
host: ${{ secrets.HOST }}
2929
username: ${{ secrets.USERNAME }}

.github/workflows/stable.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
sleep 2
3232
3333
- name: ssh by username and password
34-
uses: appleboy/[email protected].1
34+
uses: appleboy/[email protected].2
3535
with:
3636
host: ${{ env.REMOTE_HOST }}
3737
username: linuxserver.io
@@ -43,7 +43,7 @@ jobs:
4343
whoami
4444
4545
- name: ssh commands from a file
46-
uses: appleboy/[email protected].1
46+
uses: appleboy/[email protected].2
4747
with:
4848
host: ${{ env.REMOTE_HOST }}
4949
username: linuxserver.io
@@ -95,7 +95,7 @@ jobs:
9595
sleep 2
9696
9797
- name: ssh by private key
98-
uses: appleboy/[email protected].1
98+
uses: appleboy/[email protected].2
9999
with:
100100
host: ${{ env.REMOTE_HOST }}
101101
username: linuxserver.io
@@ -104,7 +104,7 @@ jobs:
104104
script: whoami
105105

106106
- name: wrong password but correct key
107-
uses: appleboy/[email protected].1
107+
uses: appleboy/[email protected].2
108108
with:
109109
host: ${{ env.REMOTE_HOST }}
110110
username: linuxserver.io
@@ -114,7 +114,7 @@ jobs:
114114
script: whoami
115115

116116
- name: correct password but wrong key
117-
uses: appleboy/[email protected].1
117+
uses: appleboy/[email protected].2
118118
with:
119119
host: ${{ env.REMOTE_HOST }}
120120
username: linuxserver.io
@@ -167,7 +167,7 @@ jobs:
167167
sleep 2
168168
169169
- name: ssh key passphrase
170-
uses: appleboy/[email protected].1
170+
uses: appleboy/[email protected].2
171171
with:
172172
host: ${{ env.REMOTE_HOST }}
173173
username: linuxserver.io
@@ -179,7 +179,7 @@ jobs:
179179
ls -al
180180
181181
- name: missing ssh key passphrase
182-
uses: appleboy/[email protected].1
182+
uses: appleboy/[email protected].2
183183
continue-on-error: true
184184
with:
185185
host: ${{ env.REMOTE_HOST }}
@@ -192,7 +192,7 @@ jobs:
192192
193193
# https://github.com/appleboy/ssh-action/issues/75#issuecomment-668314271
194194
- name: Multiline SSH commands interpreted as single lines
195-
uses: appleboy/[email protected].1
195+
uses: appleboy/[email protected].2
196196
with:
197197
host: ${{ env.REMOTE_HOST }}
198198
username: linuxserver.io
@@ -269,7 +269,7 @@ jobs:
269269
270270
# https://github.com/appleboy/ssh-action/issues/85
271271
- name: Deployment to multiple hosts with different ports
272-
uses: appleboy/[email protected].1
272+
uses: appleboy/[email protected].2
273273
with:
274274
host: "${{ env.REMOTE_HOST_01 }}:2222,${{ env.REMOTE_HOST_02 }}:2222"
275275
username: linuxserver.io
@@ -322,7 +322,7 @@ jobs:
322322
sleep 2
323323
324324
- name: testing id_ed25519 key
325-
uses: appleboy/[email protected].1
325+
uses: appleboy/[email protected].2
326326
with:
327327
host: ${{ env.REMOTE_HOST }}
328328
username: linuxserver.io
@@ -375,7 +375,7 @@ jobs:
375375
sleep 2
376376
377377
- name: testing id_ed25519 key
378-
uses: appleboy/[email protected].1
378+
uses: appleboy/[email protected].2
379379
with:
380380
host: ${{ env.REMOTE_HOST }}
381381
username: linuxserver.io
@@ -386,7 +386,7 @@ jobs:
386386
ls -al
387387
388388
- name: pass environment
389-
uses: appleboy/[email protected].1
389+
uses: appleboy/[email protected].2
390390
env:
391391
FOO: "BAR"
392392
with:
@@ -400,7 +400,7 @@ jobs:
400400
echo "I am $BAR, thanks"
401401
402402
- name: pass multiple environment
403-
uses: appleboy/[email protected].1
403+
uses: appleboy/[email protected].2
404404
env:
405405
FOO: "BAR"
406406
BAR: "FOO"
@@ -419,7 +419,7 @@ jobs:
419419
echo "port: $PORT"
420420
421421
- name: custom envs format
422-
uses: appleboy/[email protected].1
422+
uses: appleboy/[email protected].2
423423
env:
424424
FOO: "BAR"
425425
AAA: "BBB"
@@ -437,7 +437,7 @@ jobs:
437437
echo "I am $TEST_AAA, thanks"
438438
439439
- name: pass all ENV variables to script
440-
uses: appleboy/[email protected].1
440+
uses: appleboy/[email protected].2
441441
env:
442442
INPUT_FOO: "BAR"
443443
INPUT_AAA: "BBB"
@@ -454,7 +454,7 @@ jobs:
454454
echo "$GITHUB_REF"
455455
456456
- name: switch to root user
457-
uses: appleboy/[email protected].1
457+
uses: appleboy/[email protected].2
458458
with:
459459
host: ${{ env.REMOTE_HOST }}
460460
username: linuxserver.io

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
runs-on: ubuntu-latest
6666
steps:
6767
- name: executing remote ssh commands using password
68-
uses: appleboy/[email protected].1
68+
uses: appleboy/[email protected].2
6969
with:
7070
host: ${{ secrets.HOST }}
7171
username: linuxserver.io
@@ -183,7 +183,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
183183

184184
```yaml
185185
- name: executing remote ssh commands using password
186-
uses: appleboy/[email protected].1
186+
uses: appleboy/[email protected].2
187187
with:
188188
host: ${{ secrets.HOST }}
189189
username: ${{ secrets.USERNAME }}
@@ -196,7 +196,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
196196
197197
```yaml
198198
- name: executing remote ssh commands using ssh key
199-
uses: appleboy/[email protected].1
199+
uses: appleboy/[email protected].2
200200
with:
201201
host: ${{ secrets.HOST }}
202202
username: ${{ secrets.USERNAME }}
@@ -209,7 +209,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
209209
210210
```yaml
211211
- name: multiple command
212-
uses: appleboy/[email protected].1
212+
uses: appleboy/[email protected].2
213213
with:
214214
host: ${{ secrets.HOST }}
215215
username: ${{ secrets.USERNAME }}
@@ -226,7 +226,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
226226
227227
```yaml
228228
- name: file commands
229-
uses: appleboy/[email protected].1
229+
uses: appleboy/[email protected].2
230230
with:
231231
host: ${{ secrets.HOST }}
232232
username: ${{ secrets.USERNAME }}
@@ -239,7 +239,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
239239
240240
```diff
241241
- name: multiple host
242-
uses: appleboy/[email protected].1
242+
uses: appleboy/[email protected].2
243243
with:
244244
- host: "foo.com"
245245
+ host: "foo.com,bar.com"
@@ -257,7 +257,7 @@ The default value of `port` is `22`.
257257

258258
```diff
259259
- name: multiple host
260-
uses: appleboy/[email protected].1
260+
uses: appleboy/[email protected].2
261261
with:
262262
- host: "foo.com"
263263
+ host: "foo.com:1234,bar.com:5678"
@@ -272,7 +272,7 @@ The default value of `port` is `22`.
272272

273273
```diff
274274
- name: multiple host
275-
uses: appleboy/[email protected].1
275+
uses: appleboy/[email protected].2
276276
with:
277277
host: "foo.com,bar.com"
278278
+ sync: true
@@ -288,7 +288,7 @@ The default value of `port` is `22`.
288288

289289
```diff
290290
- name: pass environment
291-
uses: appleboy/[email protected].1
291+
uses: appleboy/[email protected].2
292292
+ env:
293293
+ FOO: "BAR"
294294
+ BAR: "FOO"
@@ -335,7 +335,7 @@ Host FooServer
335335

336336
```diff
337337
- name: ssh proxy command
338-
uses: appleboy/[email protected].1
338+
uses: appleboy/[email protected].2
339339
with:
340340
host: ${{ secrets.HOST }}
341341
username: ${{ secrets.USERNAME }}
@@ -358,7 +358,7 @@ It is not uncommon for files to leak from backups or decommissioned hardware, an
358358

359359
```diff
360360
- name: ssh key passphrase
361-
uses: appleboy/[email protected].1
361+
uses: appleboy/[email protected].2
362362
with:
363363
host: ${{ secrets.HOST }}
364364
username: ${{ secrets.USERNAME }}
@@ -384,7 +384,7 @@ Now you can adjust you config:
384384

385385
```diff
386386
- name: ssh key passphrase
387-
uses: appleboy/[email protected].1
387+
uses: appleboy/[email protected].2
388388
with:
389389
host: ${{ secrets.HOST }}
390390
username: ${{ secrets.USERNAME }}

README.zh-cn.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
runs-on: ubuntu-latest
6666
steps:
6767
- name: executing remote ssh commands using password
68-
uses: appleboy/[email protected].1
68+
uses: appleboy/[email protected].2
6969
with:
7070
host: ${{ secrets.HOST }}
7171
username: linuxserver.io
@@ -183,7 +183,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
183183

184184
```yaml
185185
- name: executing remote ssh commands using password
186-
uses: appleboy/[email protected].1
186+
uses: appleboy/[email protected].2
187187
with:
188188
host: ${{ secrets.HOST }}
189189
username: ${{ secrets.USERNAME }}
@@ -196,7 +196,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
196196
197197
```yaml
198198
- name: executing remote ssh commands using ssh key
199-
uses: appleboy/[email protected].1
199+
uses: appleboy/[email protected].2
200200
with:
201201
host: ${{ secrets.HOST }}
202202
username: ${{ secrets.USERNAME }}
@@ -209,7 +209,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
209209
210210
```yaml
211211
- name: multiple command
212-
uses: appleboy/[email protected].1
212+
uses: appleboy/[email protected].2
213213
with:
214214
host: ${{ secrets.HOST }}
215215
username: ${{ secrets.USERNAME }}
@@ -226,7 +226,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
226226
227227
```yaml
228228
- name: file commands
229-
uses: appleboy/[email protected].1
229+
uses: appleboy/[email protected].2
230230
with:
231231
host: ${{ secrets.HOST }}
232232
username: ${{ secrets.USERNAME }}
@@ -239,7 +239,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
239239
240240
```diff
241241
- name: multiple host
242-
uses: appleboy/[email protected].1
242+
uses: appleboy/[email protected].2
243243
with:
244244
- host: "foo.com"
245245
+ host: "foo.com,bar.com"
@@ -257,7 +257,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
257257

258258
```diff
259259
- name: multiple host
260-
uses: appleboy/[email protected].1
260+
uses: appleboy/[email protected].2
261261
with:
262262
- host: "foo.com"
263263
+ host: "foo.com:1234,bar.com:5678"
@@ -272,7 +272,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
272272

273273
```diff
274274
- name: multiple host
275-
uses: appleboy/[email protected].1
275+
uses: appleboy/[email protected].2
276276
with:
277277
host: "foo.com,bar.com"
278278
+ sync: true
@@ -288,7 +288,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
288288

289289
```diff
290290
- name: pass environment
291-
uses: appleboy/[email protected].1
291+
uses: appleboy/[email protected].2
292292
+ env:
293293
+ FOO: "BAR"
294294
+ BAR: "FOO"
@@ -335,7 +335,7 @@ Host FooServer
335335

336336
```diff
337337
- name: ssh proxy command
338-
uses: appleboy/[email protected].1
338+
uses: appleboy/[email protected].2
339339
with:
340340
host: ${{ secrets.HOST }}
341341
username: ${{ secrets.USERNAME }}
@@ -356,7 +356,7 @@ Host FooServer
356356

357357
```diff
358358
- name: ssh key passphrase
359-
uses: appleboy/[email protected].1
359+
uses: appleboy/[email protected].2
360360
with:
361361
host: ${{ secrets.HOST }}
362362
username: ${{ secrets.USERNAME }}
@@ -382,7 +382,7 @@ ssh example.com ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub | cut -d ' '
382382

383383
```diff
384384
- name: ssh key passphrase
385-
uses: appleboy/[email protected].1
385+
uses: appleboy/[email protected].2
386386
with:
387387
host: ${{ secrets.HOST }}
388388
username: ${{ secrets.USERNAME }}

0 commit comments

Comments
 (0)