mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
make results file unique
This commit is contained in:
@ -34,7 +34,7 @@ runs:
|
||||
shell: bash
|
||||
working-directory: ./core/test-reporter
|
||||
- name: Generate Report
|
||||
run: node dist/index.js "../../report.json"
|
||||
run: node dist/index.js "../../results-*.json"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ inputs.token }}
|
||||
REPO: ${{ inputs.repo }}
|
||||
|
@ -77,6 +77,11 @@ runs:
|
||||
name: test-results-${{ inputs.shard }}-${{ inputs.totalShards }}
|
||||
output: core/TestResults-${{ inputs.shard }}-${{ inputs.totalShards }}.zip
|
||||
paths: core/playwright-report
|
||||
- name: Make Report Unique
|
||||
if: always()
|
||||
run: mv results.json results-${{ inputs.shard }}-${{ inputs.totalShards }}.json
|
||||
shell: bash
|
||||
working-directory: ./core
|
||||
- name: Archive Report
|
||||
if: always()
|
||||
uses: ./.github/workflows/actions/upload-archive
|
||||
|
Reference in New Issue
Block a user