From adc87e89c6a0aa23c046a8dcd61de2bbef1df26a Mon Sep 17 00:00:00 2001 From: Andrii Panasiuk Date: Sat, 2 Sep 2023 03:31:24 +0300 Subject: [PATCH] fix(ci): fix if statement for build-x86 --- .github/workflows/build-x86.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-x86.yaml b/.github/workflows/build-x86.yaml index b436b762..08d6293a 100644 --- a/.github/workflows/build-x86.yaml +++ b/.github/workflows/build-x86.yaml @@ -9,11 +9,10 @@ on: env: REF: ${{ github.event_name == 'workflow_run' && 'auto/upgrade-dependencies' || github.ref }} - SKIP: ${{ (contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) || github.event.workflow_run.conclusion == 'success') && 'false' || 'true' }} jobs: build_system: - if: env.SKIP != 'true' + if: (contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) || github.event.workflow_run.conclusion == 'success') runs-on: ubuntu-latest strategy: matrix: @@ -44,7 +43,7 @@ jobs: build_shell: runs-on: ubuntu-latest - if: env.SKIP != 'true' + if: (contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) || github.event.workflow_run.conclusion == 'success') steps: - name: Checkout repository uses: actions/checkout@v3