From 7b1aca1b0d405ed083ac1ce35e0c0f2bbb033426 Mon Sep 17 00:00:00 2001 From: "Kevin D. Wolf" Date: Sat, 29 Aug 2026 16:23:24 -0400 Subject: [PATCH] Remove one-shot TestBase publish trigger --- .github/workflows/go-compile-yourself.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go-compile-yourself.yml b/.github/workflows/go-compile-yourself.yml index 30bce6c0..3291550f 100644 --- a/.github/workflows/go-compile-yourself.yml +++ b/.github/workflows/go-compile-yourself.yml @@ -4,7 +4,6 @@ on: push: branches: - 'feature/**' - - master pull_request: branches: - master @@ -30,7 +29,7 @@ jobs: timeout-minutes: 30 env: - PACKAGE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.ref == 'refs/heads/master' && '5.0.0' || format('5.0.0-feature.{0}', github.run_number) }} + PACKAGE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.version || format('5.0.0-feature.{0}', github.run_number) }} PACKAGE_SOURCE: https://nuget.pkg.github.com/nuviot/index.json NUGET_GITHUB_TOKEN: ${{ secrets.NUGET_GITHUB_TOKEN }} @@ -71,7 +70,7 @@ jobs: if-no-files-found: error - name: Publish packages - if: ${{ (github.event_name == 'workflow_dispatch' && inputs.publish) || (github.event_name == 'push' && github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'Publish Core TestBase 5.0.0')) }} + if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish }} shell: pwsh run: | if ([string]::IsNullOrWhiteSpace($env:NUGET_GITHUB_TOKEN)) { @@ -96,7 +95,7 @@ jobs: } - name: Verify published package restores - if: ${{ (github.event_name == 'workflow_dispatch' && inputs.publish) || (github.event_name == 'push' && github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'Publish Core TestBase 5.0.0')) }} + if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish }} shell: pwsh run: | dotnet nuget locals all --clear