Pārlūkot izejas kodu

Add nomount input and cloning logic

Add 'nomount' input to action.yml and handle it in the script.
jimsterino98 2 mēneši atpakaļ
vecāks
revīzija
180d17b5f2
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  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