From be263166afba26c7fe9b735500523d9922752a2d Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Tue, 20 Aug 2024 07:11:26 -0400 Subject: [PATCH] Fix post deployment conditionals --- .github/workflows/ci-pipeline.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index f3e0fd7a43..e64f461560 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -2006,6 +2006,7 @@ jobs: changelog-regen: name: Regenerate Changelog runs-on: ubuntu-latest + if: (!(cancelled() || failure())) && needs.deploy-tgs.result == 'success' needs: deploy-tgs steps: - name: Setup dotnet @@ -2053,6 +2054,7 @@ jobs: deploy-docker: name: Deploy TGS (Docker) needs: deploy-tgs + if: (!(cancelled() || failure())) && needs.deploy-tgs.result == 'success' runs-on: ubuntu-latest steps: - name: Install Native Packages # Name checked in rerunFlakyTests.js @@ -2078,6 +2080,7 @@ jobs: deploy-ppa: name: Deploy TGS (PPA) needs: deploy-tgs + if: (!(cancelled() || failure())) && needs.deploy-tgs.result == 'success' runs-on: ubuntu-latest steps: - name: Install Native Packages # Name checked in rerunFlakyTests.js @@ -2098,6 +2101,7 @@ jobs: deploy-winget: name: Deploy TGS (winget) needs: deploy-tgs + if: (!(cancelled() || failure())) && needs.deploy-tgs.result == 'success' runs-on: windows-latest steps: - name: Setup dotnet