From aee96ae6d3b467a71d6eb667aad0c8c0ffd662bb Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Fri, 23 May 2025 12:21:26 +0100 Subject: [PATCH] Re-enable MyGet publishing Re-enable publishing to MyGet. --- .github/workflows/build.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a27b055588..5cca55e2ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -173,13 +173,11 @@ jobs: publish-myget: needs: [ build, validate-packages ] runs-on: ubuntu-latest - if: false - # HACK Disabled until https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/3368 is resolved - #if: | - # github.event.repository.fork == false && - # (github.ref_name == github.event.repository.default_branch || - # github.head_ref == 'dotnet-vnext' || - # startsWith(github.ref, 'refs/tags/v')) + if: | + github.event.repository.fork == false && + (github.ref_name == github.event.repository.default_branch || + github.head_ref == 'dotnet-vnext' || + startsWith(github.ref, 'refs/tags/v')) environment: name: MyGet.org