mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 01:45:36 +08:00
Add tmate session setup for debugging on failure
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -265,6 +265,10 @@ jobs:
|
|||||||
./bin/spc doctor --auto-fix
|
./bin/spc doctor --auto-fix
|
||||||
${{ matrix.combo.build-args }} --dl-with-php=${{ matrix.combo.php-version }}
|
${{ 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
|
- name: Upload logs
|
||||||
if: always() && hashFiles('log/**') != ''
|
if: always() && hashFiles('log/**') != ''
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user