[openssh-commits] [openssh] 01/03: chown regress logs before uploading.
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri May 23 17:18:05 AEST 2025
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit a79a2c1190bd3124da21d9e1582dd94877c7f972
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Fri May 23 16:11:48 2025 +1000
chown regress logs before uploading.
---
.github/workflows/c-cpp.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 8c3d64b8c..887d54af2 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -152,6 +152,9 @@ jobs:
- 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
- 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