Explorar el Código

try to brute-force nsis installation O_o

Dan Korostelev hace 5 años
padre
commit
f3788ca5a6
Se han modificado 2 ficheros con 15 adiciones y 6 borrados
  1. 10 4
      .github/workflows/main.yml
  2. 5 2
      extra/github-actions/build-windows.yml

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

@@ -35,8 +35,11 @@ jobs:
       
       
       - name: choco install nsis
-        shell: pwsh
-        run: choco install --no-progress nsis.portable --version 3.02 -y
+        uses: nick-invision/retry@v1
+        with:
+          timeout_minutes: 10
+          max_attempts: 10
+          command: choco install --no-progress nsis.portable --version 3.02 -y
       - name: choco install things
         shell: pwsh
         run: choco install --no-progress curl wget 7zip.portable -y
@@ -118,8 +121,11 @@ jobs:
       
       
       - name: choco install nsis
-        shell: pwsh
-        run: choco install --no-progress nsis.portable --version 3.02 -y
+        uses: nick-invision/retry@v1
+        with:
+          timeout_minutes: 10
+          max_attempts: 10
+          command: choco install --no-progress nsis.portable --version 3.02 -y
       - name: choco install things
         shell: pwsh
         run: choco install --no-progress curl wget 7zip.portable -y

+ 5 - 2
extra/github-actions/build-windows.yml

@@ -1,6 +1,9 @@
 - name: choco install nsis
-  shell: pwsh
-  run: choco install --no-progress nsis.portable --version 3.02 -y
+  uses: nick-invision/retry@v1
+  with:
+    timeout_minutes: 10
+    max_attempts: 10
+    command: choco install --no-progress nsis.portable --version 3.02 -y
 - name: choco install things
   shell: pwsh
   run: choco install --no-progress curl wget 7zip.portable -y