Reorder steps to change perms before displaying.

This commit is contained in:
Darren Tucker committed 2026-04-27 21:47:49 +10:00
1 parent ba110a56a7
commit 6c5235cb66
1 file changed
+4 -4
+4 -4
View File
@@ -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@main