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