From 920dba30a1db40588c1992304570c07691199b59 Mon Sep 17 00:00:00 2001 From: sethg Date: Sat, 23 Dec 2023 13:12:17 +0100 Subject: [PATCH] Update logic --- .github/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07cb976ea..c113c76b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,11 +29,10 @@ jobs: uses: actions/checkout@v3 - name: Set RUN_COVERALLS Environment Variable - if: env.WITH_ASAN != 'true' - # if: (github.event.pull_request.merged == true || github.event_name == 'push') && env.WITH_ASAN != 'true' - run: echo "Setting UPLOAD_COVERALLS to true" - env: - UPLOAD_COVERALLS: true + if: (github.event.pull_request.merged == true || github.event_name == 'push') && env.WITH_ASAN != 'true' + run: | + echo "Setting UPLOAD_COVERALLS to true" + echo "UPLOAD_COVERALLS=true" >>${GITHUB_ENV} - name: Build run: |