Browse Source

Make the verification steps optional since they take up of lot of minutes.

Martijn Laan 3 months ago
parent
commit
18da571e04
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .github/workflows/build.yml

+ 4 - 0
.github/workflows/build.yml

@@ -64,6 +64,7 @@ jobs:
             ISHelp/Staging/
             ISHelp/Staging/
             ISHelp/Staging-dark/
             ISHelp/Staging-dark/
       - name: Find mt.exe
       - name: Find mt.exe
+        if: contains(github.event.repository.topics, 'issrc-build-verify')
         shell: bash
         shell: bash
         run: |
         run: |
           set -x &&
           set -x &&
@@ -71,6 +72,7 @@ jobs:
           test -n "$mt" &&
           test -n "$mt" &&
           echo "${mt%%/mt.exe*}" >>$GITHUB_PATH
           echo "${mt%%/mt.exe*}" >>$GITHUB_PATH
       - name: Verify installer
       - name: Verify installer
+        if: contains(github.event.repository.topics, 'issrc-build-verify')
         shell: bash
         shell: bash
         run: |
         run: |
           set -x &&
           set -x &&
@@ -98,11 +100,13 @@ jobs:
           ./Procmon.exe -Terminate -Quiet &&
           ./Procmon.exe -Terminate -Quiet &&
           powershell -command 'start-process -NoNewWindow -Wait -FilePath .\Procmon.exe -ArgumentList "-OpenLog trace\procmon.pml -SaveAs trace\procmon.csv"'
           powershell -command 'start-process -NoNewWindow -Wait -FilePath .\Procmon.exe -ArgumentList "-OpenLog trace\procmon.pml -SaveAs trace\procmon.csv"'
       - name: Upload trace
       - name: Upload trace
+        if: contains(github.event.repository.topics, 'issrc-build-verify')
         uses: actions/upload-artifact@v4
         uses: actions/upload-artifact@v4
         with:
         with:
           name: trace
           name: trace
           path: trace/
           path: trace/
       - name: Check trace
       - name: Check trace
+        if: contains(github.event.repository.topics, 'issrc-build-verify')
         shell: bash
         shell: bash
         run: |
         run: |
           set -x &&
           set -x &&