From d865030d71fca809fc400fb76a2d79ea6f780f3f Mon Sep 17 00:00:00 2001 From: Felix Date: Sun, 27 Apr 2025 16:00:11 +0200 Subject: [PATCH] Testing new pipeline --- .github/workflows/flutter.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index dfe6316..7a29964 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -30,10 +30,10 @@ jobs: needs: lint # Only when lint fails, and its a push to develop branch if: | - failure() && - needs.lint.outputs.needs_formatting == 'true' && + (needs.lint.result == 'failure' && + needs.lint.outputs.needs_formatting == 'true') && github.event_name == 'push' && - github.ref == 'refs/heads/develop' + # github.ref == 'refs/heads/develop' steps: - uses: actions/checkout@v4 @@ -64,7 +64,6 @@ jobs: test: runs-on: macos-latest - needs: lint steps: - uses: actions/checkout@v4 @@ -81,7 +80,6 @@ jobs: build: runs-on: macos-latest - needs: test if: false # skips job steps: