Skip to content

Commit 4901db8

Browse files
committed
add logs to build-static
1 parent 8b27c98 commit 4901db8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/static.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,12 @@ jobs:
419419
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
420420
RELEASE: ${{ (needs.prepare.outputs.ref || github.ref_type == 'tag') && '1' || '' }}
421421
NO_COMPRESS: ${{ github.event_name == 'pull_request' && '1' || '' }}
422+
- name: Upload logs
423+
if: ${{ failure() }}
424+
uses: actions/upload-artifact@v4
425+
with:
426+
path: dist/static-php-cli/log
427+
name: static-php-cli-log-${{ matrix.platform }}-${{ github.sha }}
422428
- if: needs.prepare.outputs.ref || github.ref_type == 'tag'
423429
uses: actions/attest-build-provenance@v3
424430
with:

0 commit comments

Comments
 (0)