Skip to content

Commit 1802ac2

Browse files
committed
fix[ci]: use fully-formed ref
1 parent a257dd9 commit 1802ac2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/pr.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
branch:
11-
- ${{ github.head_ref }}
12-
- "goshujin"
10+
include:
11+
- ref: ${{ github.ref }}
12+
name: "head"
13+
- ref: "goshujin"
14+
name: "goshujin"
1315

1416
permissions:
1517
contents: read
1618

1719
steps:
1820
- uses: actions/checkout@v4
1921
with:
20-
ref: ${{ matrix.branch }}
22+
ref: ${{ matrix.ref }}
2123

2224
- name: "Install Node"
2325
uses: actions/setup-node@v4
@@ -34,7 +36,7 @@ jobs:
3436
- name: "Upload Coverage"
3537
uses: actions/upload-artifact@v4
3638
with:
37-
name: coverage-${{ matrix.branch }}
39+
name: coverage-${{ matrix.name }}
3840
path: coverage
3941

4042
report-coverage:
@@ -46,7 +48,7 @@ jobs:
4648
- name: "Download HEAD coverage artifacts"
4749
uses: actions/download-artifact@v4
4850
with:
49-
name: coverage-${{ github.head_ref }}
51+
name: coverage-head
5052
path: coverage
5153

5254
- name: "Download goshujin coverage artifacts"

0 commit comments

Comments
 (0)