From 6dce43dd34d32e314f316ebf1b11389a442874f4 Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Mon, 6 Jul 2020 13:52:38 -0300 Subject: [PATCH] Remove redundant if conditions on CI scripts Needs and if "needed_resource === success" is redudant --- .github/workflows/ci.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 719adcd63e..1ef2d2ad72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,6 @@ jobs: name: Windows runs-on: windows-latest needs: [check-code-formatting] - if: needs.check-code-formatting.result == 'success' strategy: fail-fast: false matrix: @@ -79,7 +78,6 @@ jobs: name: Windows (win32) using mingw runs-on: ubuntu-latest needs: [check-code-formatting] - if: needs.check-code-formatting.result == 'success' container: image: openrct2/openrct2-build:0.2.4-mingw steps: @@ -95,7 +93,6 @@ jobs: name: macOS runs-on: macos-latest needs: [check-code-formatting] - if: needs.check-code-formatting.result == 'success' steps: - name: Checkout uses: actions/checkout@v1 @@ -125,7 +122,6 @@ jobs: name: Linux (x64, portable) runs-on: ubuntu-latest needs: [check-code-formatting] - if: needs.check-code-formatting.result == 'success' container: image: openrct2/openrct2-build:0.2.4-bionic steps: @@ -161,7 +157,6 @@ jobs: name: Linux (i686, portable) runs-on: ubuntu-latest needs: [check-code-formatting] - if: needs.check-code-formatting.result == 'success' container: image: openrct2/openrct2-build:0.2.4-bionic32 steps: @@ -202,7 +197,6 @@ jobs: name: Linux (x64, AppImage) runs-on: ubuntu-latest needs: [check-code-formatting] - if: needs.check-code-formatting.result == 'success' container: image: openrct2/openrct2-build:0.2.4-bionic steps: @@ -225,7 +219,7 @@ jobs: linux-docker: name: Linux (docker) needs: [check-code-formatting] - if: github.repository == 'OpenRCT2/OpenRCT2' && needs.check-code-formatting.result == 'success' + if: github.repository == 'OpenRCT2/OpenRCT2' runs-on: ubuntu-latest steps: - name: Build image @@ -249,7 +243,6 @@ jobs: name: Linux (Debug, [http, network, OpenGL] disabled) using clang runs-on: ubuntu-latest needs: [check-code-formatting] - if: needs.check-code-formatting.result == 'success' container: image: openrct2/openrct2-build:0.2.4-bionic steps: @@ -262,7 +255,6 @@ jobs: name: Android runs-on: ubuntu-latest needs: [check-code-formatting] - if: needs.check-code-formatting.result == 'success' container: image: openrct2/openrct2-build:0.2.4-android steps: