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