aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/action.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-07 22:59:41 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-07 22:59:41 +0300
commit52bef20ac0cf5e9158ac6cec217cb8b857348186 (patch)
tree728e8b2fe5ab8d531344c4ac15fcb87285e316a0 /action.yml
parentadd the actual action code (diff)
downloadsetup-wireguard-52bef20ac0cf5e9158ac6cec217cb8b857348186.tar.gz
setup-wireguard-52bef20ac0cf5e9158ac6cec217cb8b857348186.zip
README: update
Diffstat (limited to 'action.yml')
-rw-r--r--action.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/action.yml b/action.yml
index 77e4827..f8b2982 100644
--- a/action.yml
+++ b/action.yml
@@ -11,15 +11,15 @@ inputs:
ips:
description: Comma-separated list of IP addresses
required: true
+ allowed_ips:
+ description: Comma-separated list of netmasks
+ required: true
private_key:
description: Private key
required: true
preshared_key:
description: Preshared key
required: false
- allowed_ips:
- description: Comma-separated list of netmasks
- required: true
runs:
using: composite
@@ -30,9 +30,9 @@ runs:
readonly endpoint='${{ inputs.endpoint }}'
readonly endpoint_public_key='${{ inputs.endpoint_public_key }}'
readonly ips='${{ inputs.ips }}'
+ readonly allowed_ips='${{ inputs.allowed_ips }}'
readonly private_key='${{ inputs.private_key }}'
readonly preshared_key='${{ inputs.preshared_key }}'
- readonly allowed_ips='${{ inputs.allowed_ips }}'
readonly minport=51000
readonly maxport=51999