From afda7da14e2f12be3dadeff2d70a6a2efebd7814 Mon Sep 17 00:00:00 2001 From: Jamie Pollock Date: Mon, 15 Jan 2024 16:11:55 -0500 Subject: [PATCH] Update workflow to pack builders if not v1 --- .github/workflows/Publish-to-NuGet.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/Publish-to-NuGet.yml b/.github/workflows/Publish-to-NuGet.yml index 981b5be..216d995 100644 --- a/.github/workflows/Publish-to-NuGet.yml +++ b/.github/workflows/Publish-to-NuGet.yml @@ -49,6 +49,10 @@ jobs: - name: Pack Rhythm.Drop.Infrastructure run: dotnet pack ./src/Rhythm.Drop.Infrastructure/Rhythm.Drop.Infrastructure.csproj --no-restore -c $BUILD_CONFIG /p:version=$PACKAGE_VERSION + - name: Pack Rhythm.Drop.Builders + if: ${{ ! startsWith($PACKAGE_VERSION, '1.') }} + run: dotnet pack ./src/Rhythm.Drop.Builders/Rhythm.Drop.Builders.csproj --no-restore -c $BUILD_CONFIG /p:version=$PACKAGE_VERSION + - name: Pack Rhythm.Drop.Web.Infrastructure run: dotnet pack ./src/Rhythm.Drop.Web.Infrastructure/Rhythm.Drop.Web.Infrastructure.csproj --no-restore -c $BUILD_CONFIG /p:version=$PACKAGE_VERSION