From ca6e0d27bacd80cefb33158079b4bc7ce0938ea1 Mon Sep 17 00:00:00 2001 From: Lambert Clara Date: Sun, 28 Jul 2024 10:12:50 +0200 Subject: [PATCH] Only build and deploy standalone in non legacy configurations --- .github/workflows/build-and-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index c3a2f6f..07ed2b3 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -63,6 +63,7 @@ jobs: uses: microsoft/setup-msbuild@v2.0.0 - name: Build FASTBuildMonitor Standalone in ${{ matrix.configuration }} + if: matrix.configuration == 'Debug' || matrix.configuration == 'Release' shell: powershell run: | msbuild -t:build -restore FASTBuildMonitorVSIX/FASTBuildMonitorStandalone/FASTBuildMonitorStandalone.csproj /nologo /v:m /p:Configuration=$env:Configuration @@ -79,6 +80,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - name: Upload Standalone build artifacts + if: matrix.configuration == 'Debug' || matrix.configuration == 'Release' uses: actions/upload-artifact@v4 with: name: 'FASTBuildMonitor-${{ matrix.configuration }}-${{github.sha}}'