From 203d31bf9093970be3b025769d82e81487b46a6b Mon Sep 17 00:00:00 2001 From: Thanh Tu Do <83876371+tadoEng@users.noreply.github.com> Date: Thu, 13 Aug 2026 13:42:28 +0700 Subject: [PATCH 1/2] fix: remove invalid trailing YAML document marker --- .github/workflows/publish-nuget.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index aee2c77..3514cd7 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -130,5 +130,3 @@ jobs: draft: false prerelease: ${{ steps.version.outputs.is_prerelease == 'true' }} generateReleaseNotes: true - ---- From d6a67151cb5685b50479facabfa6c9dd035b9571 Mon Sep 17 00:00:00 2001 From: Thanh Tu Do <83876371+tadoEng@users.noreply.github.com> Date: Thu, 13 Aug 2026 13:43:12 +0700 Subject: [PATCH 2/2] fix: make publish workflow valid YAML --- .github/workflows/publish-nuget.yml | 44 ++++++++++++++--------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 3514cd7..ee671ab 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -27,31 +27,31 @@ jobs: # Create minimal IL code for stub assembly $ilCode = @' -.assembly extern mscorlib {} -.assembly extern System.Runtime { .ver 4:0:0:0 } + .assembly extern mscorlib {} + .assembly extern System.Runtime { .ver 4:0:0:0 } -.assembly ETABSv1 -{ - .ver 1:0:0:0 - .hash algorithm 0x00008004 -} + .assembly ETABSv1 + { + .ver 1:0:0:0 + .hash algorithm 0x00008004 + } -.module ETABSv1.dll + .module ETABSv1.dll -// Minimal type to make assembly valid -.class public auto ansi beforefieldinit ETABSv1.Helper - extends [mscorlib]System.Object -{ - .method public hidebysig specialname rtspecialname - instance void .ctor() cil managed - { - .maxstack 8 - ldarg.0 - call instance void [mscorlib]System.Object::.ctor() - ret - } -} -'@ + // Minimal type to make assembly valid + .class public auto ansi beforefieldinit ETABSv1.Helper + extends [mscorlib]System.Object + { + .method public hidebysig specialname rtspecialname + instance void .ctor() cil managed + { + .maxstack 8 + ldarg.0 + call instance void [mscorlib]System.Object::.ctor() + ret + } + } + '@ # Save IL code to file $ilFile = Join-Path $env:TEMP "ETABSv1.il"