Explorar el Código

Add nomount input and cloning logic

Add 'nomount' input to action.yml and handle it in the script.
jimsterino98 hace 2 meses
padre
commit
180d17b5f2
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      .github/actions/dependencies/action.yml

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

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