Skip to content

Commit

Permalink
Fix workflow & project packing
Browse files Browse the repository at this point in the history
  • Loading branch information
Xilophor committed Apr 8, 2024
1 parent c062122 commit dfe917d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [main]
branches: [master]
pull_request:

jobs:
Expand Down
4 changes: 2 additions & 2 deletions MyceliumNetworkingForCW/pack-for-thunderstore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
Condition="$(Configuration) == 'Release' and $(CI) == 'true'"
DependsOnTargets="SetModVersion"
>
<Exec Command="dotnet tcli build --config-path $(ProjectDir)../assets/thunderstore.toml --package-version $(PlainVersion)" />
<Exec Command="dotnet tcli build --config-path $(ProjectDir)ts-assets/thunderstore.toml --package-version $(PlainVersion)" />
<ItemGroup>
<FilesToRename Include="$(ProjectDir)../dist/*-$(PlainVersion).zip" />
<FilesToRename Include="$(ProjectDir)dist/*-$(PlainVersion).zip" />
</ItemGroup>
<Move SourceFiles="@(FilesToRename)" DestinationFiles="@(FilesToRename -&gt; Replace($(PlainVersion), $(MinVerVersion)))" />
</Target>
Expand Down

0 comments on commit dfe917d

Please sign in to comment.