Skip to content

Commit b071ed2

Browse files
authored
fix: use workspace relative url when uploading artifacts (#4444)
1 parent 127c7fe commit b071ed2

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/ui_tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,14 @@ jobs:
337337
working-directory: ./apps/laboratory/
338338
run: pnpm playwright:test:canary
339339

340+
- name: List blob reports directory before upload
341+
if: always() # Run even if previous steps failed, to see state
342+
working-directory: ${{ github.workspace }}/apps/laboratory/
343+
run: |
344+
echo "Listing contents of playwright-blob-reports in ${{ github.workspace }}/apps/laboratory/playwright-blob-reports/"
345+
ls -la playwright-blob-reports/
346+
continue-on-error: true # Don't fail the job if ls fails or dir doesn't exist
347+
340348
- uses: actions/upload-artifact@v4
341349
if: failure()
342350
with:
@@ -349,7 +357,7 @@ jobs:
349357
if: always() # Ensure it runs even if tests fail to get all blob data
350358
with:
351359
name: playwright-blob-artifact-shard-${{ matrix.shard }} # New unique artifact name pattern for blobs
352-
path: ./apps/laboratory/playwright-blob-reports/report-${{ matrix.shard }}.zip # Path to the uniquely named blob file
360+
path: ${{ github.workspace }}/apps/laboratory/playwright-blob-reports/report-${{ matrix.shard }}.zip # Path to the uniquely named blob file
353361
retention-days: 7
354362

355363
- name: Verify Cache Dir Exists Before Post Job
@@ -365,6 +373,9 @@ jobs:
365373
steps:
366374
- name: Checkout code
367375
uses: actions/checkout@v4
376+
with:
377+
repository: reown-com/appkit
378+
ref: ${{ inputs.branch }}
368379

369380
- uses: pnpm/action-setup@v4
370381
name: Install pnpm

0 commit comments

Comments
 (0)