Skip to content

Commit

Permalink
fix[ci]: use fully-formed ref
Browse files Browse the repository at this point in the history
  • Loading branch information
SharzyL committed Apr 16, 2024
1 parent a257dd9 commit fc86776
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
branch:
- ${{ github.head_ref }}
- "goshujin"
include:
- ref: ${{ github.ref }}
name: "head"
- ref: "goshujin"
name: "goshujin"

permissions:
contents: read

steps:
- uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
ref: ${{ matrix.ref }}

- name: "Install Node"
uses: actions/setup-node@v4
Expand All @@ -34,7 +36,7 @@ jobs:
- name: "Upload Coverage"
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.branch }}
name: coverage-${{ matrix.name }}
path: coverage

report-coverage:
Expand All @@ -46,7 +48,7 @@ jobs:
- name: "Download HEAD coverage artifacts"
uses: actions/download-artifact@v4
with:
name: coverage-${{ github.head_ref }}
name: coverage-head
path: coverage

- name: "Download goshujin coverage artifacts"
Expand Down

0 comments on commit fc86776

Please sign in to comment.