浏览代码

Add nomount input and cloning logic

Add 'nomount' input to action.yml and handle it in the script.
jimsterino98 2 月之前
父节点
当前提交
180d17b5f2
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      .github/actions/dependencies/action.yml

+ 7 - 0
.github/actions/dependencies/action.yml

@@ -10,6 +10,9 @@ inputs:
  zeromount:
     description: 'zeromount'
     required: true
+ nomount:
+    description: 'NoMount'
+    required: true
  susfs:
     description: 'SUSFS'
     required: true
@@ -49,3 +52,7 @@ runs:
       #fi
       #git checkout "$COMMIT"
      fi
+
+     if [[ ${{ inputs.nomount }} == 'true' ]]; then
+      git clone https://github.com/maxsteeel/nomount.git -b master
+     fi