File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 BATCH_FILE_URL2 : /ProjectGeneratorTool/CreateSolution.ps1
88
99on :
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 }}
You can’t perform that action at this time.
0 commit comments