File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ inputs:
3636 default : ${{ github.workspace }}
3737 description : the working directory to run in
3838
39- use-nuget :
40- default : false
39+ use-nuget-restore :
40+ default : ' false'
4141 description : >
4242 Set to true if your project uses a packages.config file instead of packagereferences. Ensure the environment has
4343 nuget and mono installed, either installing them manually or by using the Github Ubuntu-22.04 images
@@ -74,13 +74,13 @@ runs:
7474
7575 - name : Restore Mod Solution
7676 shell : bash
77- if : ${{ inputs.use-nuget != 'true'}} # https://github.com/actions/runner/issues/1483 :sufferbeale:
77+ if : ${{ inputs.use-nuget-restore != 'true'}} # https://github.com/actions/runner/issues/1483 :sufferbeale:
7878 working-directory : ${{ inputs.working-directory }}
7979 run : dotnet restore ${{ inputs.solution-file-path }} ${{ runner.debug && '-v:diagnostic' }}
8080
8181 - name : Restore Mod Solution (NuGet)
8282 shell : bash
83- if : ${{ inputs.use-nuget == 'true'}}
83+ if : ${{ inputs.use-nuget-restore == 'true'}}
8484 working-directory : ${{ inputs.working-directory }}
8585 run : nuget restore ${{ inputs.solution-file-path }} -Verbosity detailed
8686
Original file line number Diff line number Diff line change 2222 description : >
2323 If MSBuild should be used. If your mod has no msbuild project (e.g. a pure part mod)
2424 you should set this to false
25- use-nuget :
25+ use-nuget-restore :
2626 type : boolean
2727 default : false
2828 description : >
@@ -43,7 +43,7 @@ defaults:
4343
4444jobs :
4545 build :
46- runs-on : ${{ inputs.use-nuget && 'ubuntu-22.04' || 'ubuntu-24.04' }}
46+ runs-on : ${{ inputs.use-nuget-restore && 'ubuntu-22.04' || 'ubuntu-24.04' }}
4747 steps :
4848 - name : Checkout Mod Repo
4949 uses : actions/checkout@v4
6868 ksp-zip-url : ${{ inputs.ksp-zip-url }}
6969 ksp-zip-password : ${{ secrets.ksp-zip-password }}
7070 solution-file-path : ${{ inputs.solution-file-path }}
71- use-nuget : ${{ inputs.use-nuget }}
71+ use-nuget-restore : ${{ inputs.use-nuget-restore }}
7272
7373 # Assemble the mod into a release package and upload it as an artifact
7474 - uses : KSPModdingLibs/KSPBuildTools/.github/actions/assemble-release@main
Original file line number Diff line number Diff line change 1919 with :
2020 ksp-zip-url : https://github.com/KSPModdingLibs/KSPLibs/raw/main/KSP-1.12.5.zip
2121 working-directory : ${{ env.TESTDIR }}
22- use-nuget : true
22+ use-nuget-restore : true
2323
2424 - uses : ./.github/actions/assemble-release
2525 with :
You can’t perform that action at this time.
0 commit comments