Skip to content

Commit 8594138

Browse files
committed
Release 1.0.0
### 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. - 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` was split into `outputs.artifact-zip-path` and `outputs.artifact-dir-path` containing paths to a zip file and directory respectively. These are also now located under `$RELEASE_STAGING` instead of inside the workspace - `assemble-release` action: Removed call to `actions/upload-artifact`. This should be done as a separate step. ### Library - Removed Log.cs and the entire includes directory. Please use [KSPCommunityLib](https://git.offworldcolonies.nexus/KSPModdingLibs/KSPCommunityLib) instead.
1 parent c72a7d1 commit 8594138

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]-rc.1
63+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
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]-rc.1
67+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
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]-rc.1
73+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
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
83-
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]-rc.1
83+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
8484
id: assemble-release
8585
with:
8686
artifacts: ${{ inputs.artifacts }}

.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]-rc.1
67+
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
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]-rc.1
84+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
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]-rc.1
88+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
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]-rc.1
95+
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
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]-rc.1
104+
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
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]-rc.1
34+
uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
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-rc.1 - 2025-11-19
5+
## 1.0.0 - 2025-11-20
66

77
### Msbuild
88

0 commit comments

Comments
 (0)