Skip to content

Commit 8b9462f

Browse files
committed
Use nuget build tools for real
1 parent 34c2857 commit 8b9462f

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_call:
88

99
env:
10-
KSP_ROOT: /tmp/kspfoobar
10+
KSP_ROOT: /tmp/ksp
1111
RELEASE_STAGING: /tmp/release
1212

1313
jobs:
@@ -24,13 +24,13 @@ jobs:
2424
uses: drewcassidy/[email protected]
2525
id: yaclog-show
2626

27-
- uses: drewcassidy/KSPBuildTools/.github/actions/setup-ckan@get-required-tools
27+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/setup-ckan@0.0.2-alpha.0
2828

29-
- uses: drewcassidy/KSPBuildTools/.github/actions/compile@get-required-tools
29+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/compile@0.0.2-alpha.0
3030
with:
3131
ksp-zip-url: https://github.com/KSPModdingLibs/KSPLibs/raw/main/KSP-1.12.5.zip
3232

33-
- uses: drewcassidy/KSPBuildTools/.github/actions/assemble-release@get-required-tools
33+
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/assemble-release@0.0.2-alpha.0
3434

3535
- name: Publish to Github
3636
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "KSPBuildTools"]
2-
path = KSPBuildTools
3-
url = https://github.com/KSPModdingLibs/KSPBuildTools.git

KSPBuildTools

Lines changed: 0 additions & 1 deletion
This file was deleted.

Source/Shabby.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<ItemGroup>
5-
<PackageReference Include="KSPBuildTools" Version="0.0.0-*" />
5+
<PackageReference Include="KSPBuildTools" Version="0.0.2-alpha.0" />
6+
<PackageReference Include="MinVer" Version="5.0.0">
7+
<PrivateAssets>all</PrivateAssets>
8+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
9+
</PackageReference>
610
</ItemGroup>
711

812
<!-- Static Properties -->
@@ -15,7 +19,6 @@
1519
<AssemblyCopyright>2024 KSPModdingLibs Contributors</AssemblyCopyright>
1620
<AssemblyName>Shabby</AssemblyName>
1721
<RepoRootPath>$(ProjectDir)../</RepoRootPath>
18-
<StagingGameData></StagingGameData>
1922
</PropertyGroup>
2023

2124
<!-- DLL Dependencies-->
@@ -35,20 +38,17 @@
3538

3639
<!-- Version Files -->
3740
<ItemGroup>
38-
<VersionFile Include=".">
41+
<KSPVersionFile Include=".">
3942
<Destination>$(RepoRootPath)GameData/Shabby/Shabby.version</Destination>
40-
</VersionFile>
43+
</KSPVersionFile>
4144
</ItemGroup>
4245

4346
<PropertyGroup>
44-
<GetVersionFromGit>true</GetVersionFromGit>
4547
<GenerateKSPAssemblyAttribute>true</GenerateKSPAssemblyAttribute>
4648
<GenerateKSPAssemblyDependencyAttributes>true</GenerateKSPAssemblyDependencyAttributes>
4749
</PropertyGroup>
4850

4951
<Target Name="MakeModDir" BeforeTargets="BeforeBuild">
5052
<MakeDir Directories="$(RepoRootPath)GameData/Shabby" />
5153
</Target>
52-
53-
<!-- <Import Project="$(ProjectDir)../KSPBuildTools/KSPCommon.targets" />-->
5454
</Project>

0 commit comments

Comments
 (0)