diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1dd1f02..3488836 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,8 +20,9 @@ jobs: run: | $Message = git log --format=%B -n 1 HEAD Write-Output "title=$($Message | Select -First 1)" >> $Env:GITHUB_OUTPUT - Write-Output "body=$($Message | Select -Skip 1)" >> $Env:GITHUB_OUTPUT - $Message | Out-File Release.md + $Body = $Message | Select -Skip 1 + Write-Output "body=$Body" >> $Env:GITHUB_OUTPUT + $Body | Out-File Release.md - uses: microsoft/setup-msbuild@v1.3.1 # https://github.com/marketplace/actions/setup-msbuild - uses: NuGet/setup-nuget@v1.2.0 # https://github.com/marketplace/actions/setup-nuget-exe-for-use-with-actions - run: .\scripts\update-libraries.ps1 diff --git a/Graveyard/GrandFinaleView.cs b/Graveyard/GrandFinaleView.cs index 7523e3d..794be50 100644 --- a/Graveyard/GrandFinaleView.cs +++ b/Graveyard/GrandFinaleView.cs @@ -8,7 +8,9 @@ public class GrandFinaleView private static MultiTurnView.ViewConfig _Config; internal static ViewConfig Config { - get => _Config ?? (_Config = new MultiTurnView.ViewConfig(Mage.GrandFinale) + get => _Config ?? (_Config = new MultiTurnView.ViewConfig( + Mage.GrandFinale, + Mage.UnchainedGladiator) { Name = "GrandFinale", Enabled = "GrandFinaleEnabled", diff --git a/Graveyard/MultiTurnView.cs b/Graveyard/MultiTurnView.cs index 78be397..4f349ff 100644 --- a/Graveyard/MultiTurnView.cs +++ b/Graveyard/MultiTurnView.cs @@ -24,8 +24,7 @@ public ViewConfig(params string[] showOn) : base(showOn) public override void RegisterView(ViewBase view, bool isDefault = false) { base.RegisterView(view, isDefault); - var multiTurn = view as MultiTurnView; - if (multiTurn != null) + if (view is MultiTurnView multiTurn) { Plugin.Events.OnOpponentTurnStart.Register(multiTurn.TurnEnded); } diff --git a/Graveyard/Properties/AssemblyInfo.cs b/Graveyard/Properties/AssemblyInfo.cs index 8ef4579..f02ab1f 100644 --- a/Graveyard/Properties/AssemblyInfo.cs +++ b/Graveyard/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.12.0.0")] -[assembly: AssemblyFileVersion("1.12.0.0")] +[assembly: AssemblyVersion("1.12.1.0")] +[assembly: AssemblyFileVersion("1.12.1.0")]