Skip to content

Commit e7caa9a

Browse files
committed
Upload FineCode logs in CI as artifacts
1 parent 32c6676 commit e7caa9a

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

‎.github/workflows/ci-cd.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,18 @@ jobs:
254254
path: ${{ runner.temp }}/uv-cache
255255
key: ${{ steps.uv_cache.outputs.cache-primary-key }}
256256

257+
- name: Upload FineCode logs
258+
if: ${{ !cancelled() }}
259+
continue-on-error: true
260+
uses: actions/upload-artifact@v6
261+
with:
262+
name: finecode-logs-${{ matrix.name }}
263+
path: |
264+
.venvs/*/logs
265+
**/.venvs/*/logs
266+
if-no-files-found: warn
267+
retention-days: 14
268+
257269
audit-private:
258270
name: Audit (private layer)
259271
runs-on: ubuntu-26.04
@@ -440,3 +452,15 @@ jobs:
440452
with:
441453
path: ${{ runner.temp }}/uv-cache
442454
key: ${{ steps.uv_cache.outputs.cache-primary-key }}
455+
456+
- name: Upload FineCode logs
457+
if: ${{ !cancelled() && env.HAS_PRIVATE_CLONE_APP == 'true' }}
458+
continue-on-error: true
459+
uses: actions/upload-artifact@v6
460+
with:
461+
name: finecode-logs-audit-private
462+
path: |
463+
.venvs/*/logs
464+
**/.venvs/*/logs
465+
if-no-files-found: warn
466+
retention-days: 14

0 commit comments

Comments
 (0)