]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Save config.h and config.log on failure too.
authorDarren Tucker <dtucker@dtucker.net>
Sat, 3 Apr 2021 05:59:10 +0000 (16:59 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Sat, 3 Apr 2021 05:59:10 +0000 (16:59 +1100)
.github/workflows/c-cpp.yml
.github/workflows/selfhosted.yml

index f3fc475c761b6a38bd5aefec81a0fb5bd4e829eb..0e427f9003b0b1a2d145e6ebec80cc0fda1e79b7 100644 (file)
@@ -51,11 +51,13 @@ jobs:
       env:
         SUDO: sudo
         TEST_SSH_UNSAFE_PERMISSIONS: 1
-    - name: save regress logs
+    - name: save logs
       if: failure()
       uses: actions/upload-artifact@v2
       with:
-        name: ${{ matrix.os }}-${{ matrix.configs }}-regress-logs
+        name: ${{ matrix.os }}-${{ matrix.configs }}-logs
         path: |
+          config.h
+          config.log
           regress/*.log
           regress/valgrind-out/
index c96d0994118cf44f881962851de1e1ab751d9ba6..1cf6b5da0a3490bf6f597b887118f5d28adb509e 100644 (file)
@@ -41,24 +41,18 @@ jobs:
       run: vmstartup
     - name: configure
       run: vmrun ./.github/configure.sh ${{ matrix.configs }}
-    - name: save config files
-      if: failure()
-      uses: actions/upload-artifact@v2
-      with:
-        name: ${{ matrix.os }}-${{ matrix.configs }}-config-files
-        path: |
-          config.h
-          config.log
     - name: make
       run: vmrun make
     - name: make tests
       run: vmrun ./.github/run_test.sh ${{ matrix.configs }}
-    - name: save regress logs
+    - name: save logs
       if: failure()
       uses: actions/upload-artifact@v2
       with:
-        name: ${{ matrix.os }}-${{ matrix.configs }}-regress-logs
+        name: ${{ matrix.os }}-${{ matrix.configs }}-logs
         path: |
+          config.h
+          config.log
           regress/*.log
           regress/valgrind-out/
     - name: shutdown VM