[openssh-commits] [openssh] 01/01: Save config.h and config.log on failure too.

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Apr 3 16:59:40 AEDT 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 7cd262c1c5a08cc7f4f30e3cab108ef089d0a57b
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Sat Apr 3 16:59:10 2021 +1100

    Save config.h and config.log on failure too.
---
 .github/workflows/c-cpp.yml      |  6 ++++--
 .github/workflows/selfhosted.yml | 14 ++++----------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index f3fc475c..0e427f90 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -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 at 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/
diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml
index c96d0994..1cf6b5da 100644
--- a/.github/workflows/selfhosted.yml
+++ b/.github/workflows/selfhosted.yml
@@ -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 at 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 at 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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list