Skip to content

Commit

Permalink
update KSPBuildTools
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcassidy committed Sep 12, 2024
1 parent 0c765cb commit 46b566e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
uses: drewcassidy/[email protected]
id: yaclog-show

- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].0
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3

- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].0
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected].3
with:
ksp-zip-url: https://github.com/KSPModdingLibs/KSPLibs/raw/main/KSP-1.12.5.zip

Expand All @@ -36,7 +36,8 @@ jobs:
mod-name: Shabby
output-path: GameData/Shabby/shabby-version.cfg

- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected]
id: assemble-release
with:
output-file-name: 'Shabby-${{ steps.yaclog-show.outputs.version}}'

Expand All @@ -46,7 +47,7 @@ jobs:
gh release create ${{ github.ref_name }}
--notes-file "${{ steps.yaclog-show.outputs.body-file }}"
--title "${{ steps.yaclog-show.outputs.name }}"
Shabby*.zip
${{ steps.assemble-release.outputs.artifact-path }}
GameData/Shabby/Shabby.version
# We publish both the mod AND the version file, that way there's always a static latest version file to compare against
env:
Expand Down
2 changes: 1 addition & 1 deletion Source/Shabby.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- MSBuild Dependencies -->
<ItemGroup>
<PackageReference Include="KSPBuildTools" Version="0.0.2-alpha.2" />
<PackageReference Include="KSPBuildTools" Version="0.0.2-alpha.3" />
<PackageReference Include="MinVer" Version="5.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down

0 comments on commit 46b566e

Please sign in to comment.