Add tmate session setup for debugging on failure

This commit is contained in:
Jerry Ma
2026-05-10 14:12:47 +08:00
committed by GitHub
parent 64d9650f88
commit 079a30c5b1

View File

@@ -265,6 +265,10 @@ jobs:
./bin/spc doctor --auto-fix
${{ matrix.combo.build-args }} --dl-with-php=${{ matrix.combo.php-version }}
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
- name: Upload logs
if: always() && hashFiles('log/**') != ''
uses: actions/upload-artifact@v4