Skip to content

Commit f499ed2

Browse files
committed
Release 1.0.0-alpha.3
### Msbuild - Renamed global msbuild properties to have the `KSPBT_` prefix to avoid namespace collisions with other frameworks - `KSPRoot` is now `KSPBT_GameRoot`. It should no longer be referenced within a .csproj file - `RepoRootPath` is now `KSPBT_ModRoot`, and should now point to the mod folder within GameData rather than the root of a git repo - `BinariesOutputRelativePath` is now `KSPBT_ModPluginFolder` - `GenerateKSPAssemblyAttribute` is now `KSPBT_GenerateAssemblyAttribute` and defaults to true - `GenerateKSPAssemblyDependencyAttributes` is now `KSPBT_GenerateDependencyAttributes` and defaults to true - `ReferenceUnityAssemblies` is now `KSPBT_ReferenceUnityAssemblies` - `ReferenceKSPAssemblies` is now `KSPBT_ReferenceGameAssemblies` - Added the `KSPBT_ReferenceSystemAssemblies` property to control referencing the mono system DLLs within the KSP managed folder. Setting this property to false will load the implicit framework DLLs instead. - Mod dependencies should now be declared with `ModReference` items. This avoids the need for the KSP install path to be known at evaluation time. - Only include Log.cs (or anything else in include/unity) when `KSPBT_ReferenceUnityAssemblies` is `true` (#61) - Fix `KSP_VERSION_MAX` getting mangled when using an existing version file (#64) - Fix incorrect behavior when building without a solution (#50) ### Actions - KSPBT actions used in reusable workflows are now pinned with each tag, instead of using actions from `main`. All calls to reusable workflows should be pinned to a tag to ensure the correct actions are being used. (#21) - `compile` action: Use `dotnet restore` instead of `nuget restore` by default, allowing the action to work on any Ubuntu runner image. Added the `use-nuget-restore` option to restore the previous behavior for projects that use packages.config for dependencies. (#68) - `compile` action: Removed call to`actions/setup-dotnet`. Setting up .NET should be done as a separate step. (#65) - `setup-ckan` action: Sped up execution by skipping recommended packages and man-db updates - `setup-ckan` action: Add `ckan-install-method` option for installation method. Currently supports `'apt'` for installation on Debian/Ubuntu, or `'skip'` to skip installation for runners that already have CKAN installed. - `assemble-release` action: `outputs.artifact-path` now includes the `.zip` extension (#51)
1 parent 27d56b3 commit f499ed2

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,17 @@ jobs:
6060
dotnet-version: ${{ inputs.dotnet-version }}
6161

6262
# Install CKAN and set up an instance
63-
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
63+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
6464
if: ${{ (inputs.use-ckan && inputs.use-msbuild) || inputs.dependency-identifiers }}
6565

6666
# Install any listed CKAN dependencies
67-
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
67+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
6868
if: ${{ inputs.dependency-identifiers }}
6969
with:
7070
dependency-identifiers: ${{ inputs.dependency-identifiers }}
7171

7272
# Compile the mod
73-
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
73+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
7474
if: ${{ inputs.use-msbuild }}
7575
with:
7676
build-configuration: ${{ inputs.build-configuration }}
@@ -80,7 +80,7 @@ jobs:
8080
use-nuget-restore: ${{ inputs.use-nuget-restore }}
8181

8282
# Assemble the mod into a release package and upload it as an artifact
83-
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
83+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
8484
with:
8585
artifacts: ${{ inputs.artifacts }}
8686
output-file-name: ${{ github.event.repository.name }}-${{ inputs.build-configuration }}

.github/workflows/create-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
submodules: true
6565

6666
- name: update-version
67-
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
67+
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
6868
with:
6969
version-string: ${{ inputs.version-string }}
7070
template-extension: ${{ inputs.version-template-extension }}
@@ -81,18 +81,18 @@ jobs:
8181
git tag -f -a "$VERSION_STRING" -m "$VERSION_STRING"
8282
8383
# Install CKAN and set up an instance
84-
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
84+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
8585
if: ${{ (inputs.use-ckan && inputs.use-msbuild) || inputs.dependency-identifiers }}
8686

8787
# Install any listed CKAN dependencies
88-
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
88+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
8989
if: ${{ inputs.dependency-identifiers }}
9090
with:
9191
dependency-identifiers: ${{ inputs.dependency-identifiers }}
9292

9393
- name: compile
9494
if: ${{ inputs.use-msbuild }}
95-
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
95+
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
9696
with:
9797
build-configuration: ${{ inputs.build-configuration }}
9898
ksp-zip-url: ${{ inputs.ksp-zip-url }}
@@ -101,7 +101,7 @@ jobs:
101101

102102
- name: assemble-release
103103
id: assemble-release
104-
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
104+
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
105105
with:
106106
artifacts: ${{ inputs.artifacts }}
107107
output-file-name: ${{ github.event.repository.name }}-${{ env.VERSION_STRING }}

.github/workflows/publish-to-spacedock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
- name: get-release-info
3333
id: get-release-info
34-
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].2
34+
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
3535
with:
3636
release-tag: ${{ inputs.release-tag }}
3737

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file
44

5-
## 1.0.0-alpha.2 - 2025-11-07
5+
## 1.0.0-alpha.3 - 2025-11-14
66

77
### Msbuild
88

0 commit comments

Comments
 (0)