Skip to content

Commit

Permalink
Merge pull request #3 from Xilophor/fix-workflow
Browse files Browse the repository at this point in the history
Fix workflow & project packing
  • Loading branch information
RugbugRedfern committed Apr 8, 2024
2 parents c062122 + dfe917d commit d78bd38
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 d78bd38

Please sign in to comment.