From ebef1c146f215e8f58fc5ae56af8d37f4007a535 Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Thu, 26 Aug 2021 16:04:44 -0700 Subject: [PATCH] Changed upload path for canary. --- .github/workflows/release-checks.yml | 20 ++++++++++---------- .github/workflows/validate-and-build.yml | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release-checks.yml b/.github/workflows/release-checks.yml index 474a0b7b26..ac27b9fe4e 100644 --- a/.github/workflows/release-checks.yml +++ b/.github/workflows/release-checks.yml @@ -13,16 +13,16 @@ jobs: check-validate-and-build-success: runs-on: ubuntu-latest steps: - - name: Check Failure - run: | - if ${{ github.event.workflow_run.conclusion == 'success' }} ; then - echo "SUCCESS: validate-and-build.yml ran successfully. Continue" - exit 0 - else - echo "FAIL: validate-and-build.yml DID NOT run successfully. Terminating..." - exit 1 - fi - + - if: github.event.workflow_run.conclusion != 'success' + name: Abort if failed + run: | + echo "FAIL: validate-and-build.yml DID NOT run successfully. Terminating..." + exit 1 + - name: Print Success + run: | + echo "SUCCESS: validate-and-build.yml ran successfully. Continue" + exit 0 + #Enusre that we are running on a tag. There is no good way to see if this was #triggered from a tag/release, so we use the creation of an aritifact in the diff --git a/.github/workflows/validate-and-build.yml b/.github/workflows/validate-and-build.yml index c3255833a5..bdaf0c1f93 100644 --- a/.github/workflows/validate-and-build.yml +++ b/.github/workflows/validate-and-build.yml @@ -272,4 +272,4 @@ jobs: with: name: tag-canary path: | - tag-canary.txt \ No newline at end of file + build/tag-canary.txt \ No newline at end of file