Skip to content

Commit d5325a7

Browse files
committed
feat: shard-total default = 1
1 parent 4a5fad3 commit d5325a7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/prerelease.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
uses: ./.github/workflows/test-e2e.yml
4545
with:
4646
matrix-include: ${{ toJson(fromJson(needs.generate-matrix.outputs.matrix).include) }}
47-
shard-total: 5
4847
secrets: inherit
4948

5049
deploy:

.github/workflows/test-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
description: 'Total number of shards'
1212
required: false
1313
type: number
14-
default: 3
14+
default: 1
1515

1616
jobs:
1717
prepare-matrix:
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
strategy:
4444
matrix: ${{ fromJson(needs.prepare-matrix.outputs.test-matrix) }}
45-
name: Test ${{ matrix.locale }} (Shard ${{ matrix.shard }}/${{ inputs.shard-total }})
45+
name: Test ${{ matrix.locale }}${{ inputs.shard-total > 1 && format(' (Shard {0}/{1})', matrix.shard, inputs.shard-total) || '' }}
4646
steps:
4747
- name: Checkout code
4848
uses: actions/checkout@v3

0 commit comments

Comments
 (0)