[openssh-commits] [openssh] 04/09: Reorder steps to change perms before displaying.
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Apr 27 22:20:20 AEST 2026
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 6c5235cb6692415e475fea4c0b69ee7ea0af8055
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Mon Apr 20 18:45:37 2026 +1000
Reorder steps to change perms before displaying.
---
.github/workflows/c-cpp.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 76faedb1f..97be7eb63 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -166,12 +166,12 @@ jobs:
run: |
sh .github/install_libcrypto.sh -a ${{ matrix.config }} /opt/openssl
sh .github/run_test.sh ${{ matrix.config }}
- - name: show logs
- if: failure()
- run: for i in regress/failed*.log; do echo ====; echo logfile $i; echo =====; cat $i; done
- name: chown logs
if: failure()
- run: test -x "$(which sudo 2>&1)" && sudo chown -R "${LOGNAME}" regress
+ run: sh -c 'SUDO="$(which sudo 2>/dev/null)"; $SUDO chown -R "${LOGNAME}" regress'
+ - name: show logs
+ if: failure()
+ run: sh -c "for i in regress/failed*.log; do echo ====; echo logfile $i; echo =====; cat $i; done"
- name: save logs
if: failure()
uses: actions/upload-artifact at main
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list