Skip to content

Commit

Permalink
Update playwright.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuankai619 committed Sep 18, 2024
1 parent fc905e4 commit d3dfdf9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ matrix.folder }}-trace
path: zip-files/
retention-days: 30
# - uses: actions/upload-artifact@v4
Expand All @@ -88,7 +89,7 @@ jobs:
# name: playwright-report-${{ matrix.folder }}
# path: ${{ matrix.folder }}/playwright-report/
# retention-days: 30

deploy:
needs: test
runs-on: ubuntu-latest
Expand All @@ -106,7 +107,7 @@ jobs:
run: |
mkdir -p deploy-zip-files
find all-trace-files/ -name 'trace.zip' -type f -print0 | while IFS= read -r -d '' file; do
relpath=${file#all-trace-files/artifact/}
relpath=${file#all-trace-files/${matrix.folder}-trace/}
mkdir -p "deploy-zip-files/$(dirname "$relpath")"
cp "$file" "deploy-zip-files/$relpath"
done
Expand Down

0 comments on commit d3dfdf9

Please sign in to comment.