Skip to content

Commit da059d7

Browse files
committed
chore(workflows/build): 区別できるように各 checkout step に名前をつける
1 parent 6fcc5a2 commit da059d7

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,26 @@ jobs:
2929
echo "head_ref=${{ startsWith(inputs.arguments, '--pull ') && github.event.pull_request.head.ref || github.ref }}" >> "$GITHUB_OUTPUT"
3030
3131
# site_generator
32-
- uses: actions/checkout@v4
32+
- name: Check out cpprefjp/site_generator
33+
uses: actions/checkout@v4
3334
with:
3435
repository: cpprefjp/site_generator
3536
path: site_generator
3637
- run: git submodule update -i
3738
working-directory: site_generator
3839

3940
# kunai
40-
- uses: actions/checkout@v4
41+
- name: Check out cpprefjp/kunai
42+
uses: actions/checkout@v4
4143
with:
4244
repository: cpprefjp/kunai
4345
path: site_generator/kunai
4446
- run: git submodule update -i
4547
working-directory: site_generator/kunai
4648

47-
# site
48-
- uses: actions/checkout@v4
49+
# site (typically cpprefjp/site)
50+
- name: Check out ${{ steps.vars.outputs.head_repo }}
51+
uses: actions/checkout@v4
4952
with:
5053
repository: ${{ steps.vars.outputs.head_repo }}
5154
# atom 生成のために全履歴が必要
@@ -55,8 +58,9 @@ jobs:
5558
- run: git submodule update -i
5659
working-directory: site_generator/cpprefjp/site
5760

58-
# site
59-
- uses: actions/checkout@v2
61+
# image
62+
- name: Check out cpprefjp/image
63+
uses: actions/checkout@v2
6064
with:
6165
repository: cpprefjp/image
6266
path: site_generator/cpprefjp/image

0 commit comments

Comments
 (0)