Skip to content

Commit f8dc977

Browse files
committed
buildcheckymlのテスト用triggerを追加しました。
1 parent 650fc1e commit f8dc977

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/BuildCheck.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ env:
77
BATCH_FILE_URL2: /ProjectGeneratorTool/CreateSolution.ps1
88

99
on:
10+
push: # テスト用(マージ前に削除)
1011
pull_request:
1112
branches:
1213
- master
@@ -21,15 +22,15 @@ jobs:
2122
steps:
2223
- name: Download CreateSolution.ps1
2324
run: |
24-
curl -o CreateSolution.ps1 ${{ env.BATCH_FILE_URL1 }}${{ github.head_ref }}${{ env.BATCH_FILE_URL2 }}
25+
curl -o CreateSolution.ps1 ${{ env.BATCH_FILE_URL1 }}${{ github.head_ref || github.ref_name }}${{ env.BATCH_FILE_URL2 }}
2526
2627
- name: Add MSBuild to PATH
2728
uses: microsoft/setup-msbuild@v2
2829
with:
2930
msbuild-architecture: x64
3031

3132
- name: Generate Solution File
32-
run: .\CreateSolution.ps1 ${{ env.SOLUTION_NAME }} ${{ github.head_ref }}
33+
run: .\CreateSolution.ps1 ${{ env.SOLUTION_NAME }} ${{ github.head_ref || github.ref_name }}
3334

3435
- name: Build
3536
run: msbuild ${{ env.SOLUTION_FILE_PATH }} /p:Platform=x64,Configuration=${{ matrix.configuration }}

0 commit comments

Comments
 (0)