Compare commits

..

2 Commits

Author SHA1 Message Date
Bo-Yi Wu e141024000 update5
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-01-21 09:51:29 +08:00
Bo-Yi Wu c5f047c9b8 ci: enhance GitHub Actions with Protocol Configs
- Add a new GitHub Actions job `testing06` for testing in IPv6 environment with specific steps and parameters
- Introduce `protocol` input for the GitHub Action with a description of valid values and default setting
- Introduce `proxy_protocol` input for the GitHub Action with a description of valid values and default setting

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-01-21 09:49:18 +08:00
2 changed files with 23 additions and 0 deletions
+19
View File
@@ -282,3 +282,22 @@ jobs:
script: | script: |
whoami && echo 'hello world' && touch todo.txt whoami && echo 'hello world' && touch todo.txt
sudo whoami sudo whoami
testing06:
name: ipv6
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v1
- name: testing in ipv6
uses: ./
with:
host: "fe80::6c:d6ff:fe09:79d4"
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
protocol: "tcp6"
command_timeout: 30s
script: |
whoami
+4
View File
@@ -13,6 +13,8 @@ inputs:
description: "SSH username." description: "SSH username."
password: password:
description: "SSH password." description: "SSH password."
protocol:
description: 'The IP protocol to use. Valid values are "tcp", "tcp4" or "tcp6". Default to tcp.'
sync: sync:
description: "Enable synchronous execution if multiple hosts are involved." description: "Enable synchronous execution if multiple hosts are involved."
use_insecure_cipher: use_insecure_cipher:
@@ -40,6 +42,8 @@ inputs:
description: "SSH proxy username." description: "SSH proxy username."
proxy_password: proxy_password:
description: "SSH proxy password." description: "SSH proxy password."
proxy_protocol:
description: 'The IP protocol to use. Valid values are "tcp", "tcp4" or "tcp6". Default to tcp.'
proxy_passphrase: proxy_passphrase:
description: "SSH proxy key passphrase." description: "SSH proxy key passphrase."
proxy_timeout: proxy_timeout: