Skip to content

Commit 0bd38f9

Browse files
authored
compile action: add msbuild dependency installation support
1 parent fd4ae9b commit 0bd38f9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/actions/compile/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ inputs:
1111
type: string
1212
dependency-identifiers:
1313
type: string
14+
dependency-msbuild-target:
15+
type: string
16+
default: CKANInstall
1417
solution-file-path:
1518
type: string
1619

@@ -39,6 +42,12 @@ runs:
3942
with:
4043
dependency-identifiers: ${{ inputs.dependency-identifiers }}
4144

45+
- name: Install Dependencies With MSBuild
46+
if: inputs.dependency-msbuild-target != ''
47+
shell: bash
48+
working-directory: ${{ github.workspace }}
49+
run: msbuild /t:{{ inputs.dependency-msbuild-target }} /p:KSPRoot=${{ env.KSP_ROOT }} ${{ inputs.solution-file-path }}
50+
4251
- name: Download KSP Libs
4352
shell: bash
4453
run: |

0 commit comments

Comments
 (0)