26 lines
719 B
YAML
26 lines
719 B
YAML
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
|