참고소스 수정본
This commit is contained in:
25
참고/playwright-main/.github/actions/upload-blob-report/action.yml
vendored
Normal file
25
참고/playwright-main/.github/actions/upload-blob-report/action.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: 'Upload blob report'
|
||||
description: 'Upload blob report to GitHub artifacts'
|
||||
inputs:
|
||||
report_dir:
|
||||
description: 'Directory containing blob report'
|
||||
required: true
|
||||
default: 'test-results/blob-report'
|
||||
job_name:
|
||||
description: 'Unique job name'
|
||||
required: true
|
||||
default: ''
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Integrity check
|
||||
shell: bash
|
||||
run: find "${{ inputs.report_dir }}" -name "*.zip" -exec unzip -t {} \;
|
||||
- name: Upload blob report to GitHub
|
||||
if: ${{ !cancelled() }}
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: blob-report-${{ inputs.job_name }}
|
||||
path: ${{ inputs.report_dir }}/**
|
||||
retention-days: 7
|
||||
overwrite: true
|
||||
Reference in New Issue
Block a user