浏览代码

Modify workflow inputs for default values and ttl

Updated default values for ipv6_nat and optimization inputs to true. Added ttl input with default value true and description for TTL support.
jimsterino98 2 月之前
父节点
当前提交
a0850aac62
共有 1 个文件被更改,包括 17 次插入4 次删除
  1. 17 4
      .github/workflows/main.yml

+ 17 - 4
.github/workflows/main.yml

@@ -74,13 +74,19 @@ on:
       ipv6_nat:
        description: "IPv6_NAT & IP-SET"
        required: false
-       default: false
+       default: true
        type: boolean
 
       optimization:
        description: "optimization patches"
        required: false
-       default: false
+       default: true
+       type: boolean
+
+      ttl:
+       description: "TTL support"
+       required: false
+       default: true
        type: boolean
 
 jobs:
@@ -100,6 +106,7 @@ jobs:
       cache: ${{ inputs.cache }}
       ipv6_nat: ${{ inputs.ipv6_nat }}
       optimization: ${{ inputs.optimization }}
+      ttl: ${{ inputs.ttl }}
 
   release:
     runs-on: ubuntu-latest
@@ -189,13 +196,13 @@ jobs:
 
           if [ "${{ inputs.zeromount }}" = "true" ]; then
           cat <<'EOF' >> release_body.md
-          -> Zeromount https://github.com/Enginex0/zeromount
+          -> Zeromount - https://github.com/Enginex0/zeromount
           EOF
           fi
 
           if [ "${{ inputs.droidspace }}" = "true" ]; then
           cat <<'EOF' >> release_body.md
-          -> droidspaces support https://github.com/ravindu644/Droidspaces-OSS
+          -> droidspaces support - https://github.com/ravindu644/Droidspaces-OSS
           EOF
           fi
 
@@ -218,6 +225,12 @@ jobs:
           EOF
           fi
 
+          if [ "${{ inputs.ttl }}" = "true" ]; then
+          cat <<'EOF' >> release_body.md
+          -> TTL Target Support - Network packet manipulation
+          EOF
+          fi
+
           if [ "${{ inputs.optimization }}" = "true" ]; then
           cat <<'EOF' >> release_body.md
           -> Kernel Optimization - Memory, I/O, CPU scheduler, network and other general tunings