From 4664062eaea145be2577a4c479494e0971baafc1 Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 30 Jan 2026 10:09:14 -0500 Subject: [PATCH 1/9] AB#11 Fx Publish to GitHub Packages --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10aed1d..937d753 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,14 +49,22 @@ jobs: name: Publish to GitHub Packages runs-on: ubuntu-latest needs: test - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNET_VERSION }} + + - name: Restore dependencies + run: dotnet restore + + - name: Build project + run: dotnet build --no-restore --configuration Release + - name: Publish to GitHub Packages run: | dotnet pack --configuration Release --no-build -o ./nupkg From 09b8f52023f0ea120347f13f5be0f4f99cfc4b37 Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 30 Jan 2026 10:15:44 -0500 Subject: [PATCH 2/9] Correcting fetch-depth and NuGet source. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 937d753..737d07d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup .NET uses: actions/setup-dotnet@v4 @@ -68,6 +70,6 @@ jobs: - name: Publish to GitHub Packages run: | dotnet pack --configuration Release --no-build -o ./nupkg - dotnet nuget push ./nupkg/*.nupkg --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} + dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} env: NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 89301d62f0f0bb1ea4cd9b0b9ad2f72c62ffd1f5 Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 30 Jan 2026 10:20:53 -0500 Subject: [PATCH 3/9] AB#11 set package source. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 737d07d..c567e56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNET_VERSION }} + source-url: https://nuget.pkg.github.com/bpsLogicBuilder/index.json - name: Restore dependencies run: dotnet restore From d3ca3983390b985f8d2742000c9036d8da0331ab Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 30 Jan 2026 10:22:59 -0500 Subject: [PATCH 4/9] AB#11 Add NUGET_AUTH_TOKEN --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c567e56..d222c49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,8 @@ jobs: with: dotnet-version: ${{ env.DOTNET_VERSION }} source-url: https://nuget.pkg.github.com/bpsLogicBuilder/index.json + env: + NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Restore dependencies run: dotnet restore From 48758fe4bddfef1fd07a6f5134bf293fc0ddfaec Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 30 Jan 2026 10:35:40 -0500 Subject: [PATCH 5/9] AB#11 Minor --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d222c49..32bb493 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [ master ] + branches: [ master ] pull_request: branches: [ master ] From 3412a0e9b8060de27d8b5337004dc3565d2cd64b Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 30 Jan 2026 10:42:43 -0500 Subject: [PATCH 6/9] AB#11 $Env:NUGET_AUTH_TOKEN --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32bb493..e37ce47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,6 +73,6 @@ jobs: - name: Publish to GitHub Packages run: | dotnet pack --configuration Release --no-build -o ./nupkg - dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} + dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --api-key ${{ $Env:NUGET_AUTH_TOKEN }} env: NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 81d08347195b8bda82535c80a412177f7b02d3f7 Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 30 Jan 2026 10:44:15 -0500 Subject: [PATCH 7/9] AB#11 env.NUGET_AUTH_TOKEN --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e37ce47..ab3d415 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,6 +73,6 @@ jobs: - name: Publish to GitHub Packages run: | dotnet pack --configuration Release --no-build -o ./nupkg - dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --api-key ${{ $Env:NUGET_AUTH_TOKEN }} + dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --api-key ${{ env.NUGET_AUTH_TOKEN }} env: NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 53c6d897db579c3b5259b06534368b6a5e60e0ad Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 30 Jan 2026 11:07:36 -0500 Subject: [PATCH 8/9] AB#11 Adding Directory.Build.props --- Directory.Build.props | 12 ++++++++++++ ...cBuilder.ComponentModel.Design.Serialization.slnx | 1 + 2 files changed, 13 insertions(+) create mode 100644 Directory.Build.props diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..9d20bd8 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,12 @@ + + + BlaiseD + latest + true + $(NoWarn);1701;1702;1591 + true + true + snupkg + true + + diff --git a/LogicBuilder.ComponentModel.Design.Serialization.slnx b/LogicBuilder.ComponentModel.Design.Serialization.slnx index d724b77..7f0faa5 100644 --- a/LogicBuilder.ComponentModel.Design.Serialization.slnx +++ b/LogicBuilder.ComponentModel.Design.Serialization.slnx @@ -2,6 +2,7 @@ + From ec0983335fcf599c1e03c145e4d48f64924f7cbb Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 30 Jan 2026 11:23:16 -0500 Subject: [PATCH 9/9] AB#11 cleanup. --- .github/workflows/ci.yml | 6 ++---- ...uilder.ComponentModel.Design.Serialization.slnx | 1 - coverlet.runsettings | 14 -------------- 3 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 coverlet.runsettings diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab3d415..0ef5add 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - fetch-depth: 0 # Full history for better analysis + fetch-depth: 0 - name: Setup .NET uses: actions/setup-dotnet@v4 @@ -73,6 +73,4 @@ jobs: - name: Publish to GitHub Packages run: | dotnet pack --configuration Release --no-build -o ./nupkg - dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --api-key ${{ env.NUGET_AUTH_TOKEN }} - env: - NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/LogicBuilder.ComponentModel.Design.Serialization.slnx b/LogicBuilder.ComponentModel.Design.Serialization.slnx index 7f0faa5..3864e89 100644 --- a/LogicBuilder.ComponentModel.Design.Serialization.slnx +++ b/LogicBuilder.ComponentModel.Design.Serialization.slnx @@ -1,7 +1,6 @@ - diff --git a/coverlet.runsettings b/coverlet.runsettings deleted file mode 100644 index ab92f23..0000000 --- a/coverlet.runsettings +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - [*]*/SerializationSession - Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute - false - - - - - \ No newline at end of file