diff --git a/.github/workflows/dart_dart2js.yaml b/.github/workflows/dart_dart2js.yaml index cba2d949d5..995fb69294 100644 --- a/.github/workflows/dart_dart2js.yaml +++ b/.github/workflows/dart_dart2js.yaml @@ -29,6 +29,9 @@ jobs: browser: - chrome - firefox + # Skips 'beta' tests on PRs + exclude: + - sdk: ${{ (github.event_name == 'pull_request') && 'beta' || 'NONE' }} steps: - name: Cache Pub dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # 3.3.2 diff --git a/.github/workflows/dart_ddc.yaml b/.github/workflows/dart_ddc.yaml index bc58cfc40f..4d9fb61b81 100644 --- a/.github/workflows/dart_ddc.yaml +++ b/.github/workflows/dart_ddc.yaml @@ -29,6 +29,9 @@ jobs: browser: - chrome - firefox + # Skips 'beta' tests on PRs + exclude: + - sdk: ${{ (github.event_name == 'pull_request') && 'beta' || 'NONE' }} steps: - name: Cache Pub dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # 3.3.2 diff --git a/.github/workflows/dart_vm.yaml b/.github/workflows/dart_vm.yaml index 1db3a2fd81..a2828feb9f 100644 --- a/.github/workflows/dart_vm.yaml +++ b/.github/workflows/dart_vm.yaml @@ -24,6 +24,9 @@ jobs: - "3.0.1" - stable - beta + # Skips 'beta' tests on PRs + exclude: + - sdk: ${{ (github.event_name == 'pull_request') && 'beta' || 'NONE' }} steps: - name: Cache Pub dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # 3.3.2 diff --git a/.github/workflows/flutter_android.yaml b/.github/workflows/flutter_android.yaml index 308b1f3cee..2688548539 100644 --- a/.github/workflows/flutter_android.yaml +++ b/.github/workflows/flutter_android.yaml @@ -28,6 +28,9 @@ jobs: channel: - stable - beta + # Skips 'beta' tests on PRs + exclude: + - channel: ${{ (github.event_name == 'pull_request') && 'beta' || 'NONE' }} steps: - name: Git Checkout uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 3.6.0 diff --git a/.github/workflows/flutter_ios.yaml b/.github/workflows/flutter_ios.yaml index 24821c35eb..bc48f50872 100644 --- a/.github/workflows/flutter_ios.yaml +++ b/.github/workflows/flutter_ios.yaml @@ -27,6 +27,9 @@ jobs: channel: - stable - beta + # Skips 'beta' tests on PRs + exclude: + - channel: ${{ (github.event_name == 'pull_request') && 'beta' || 'NONE' }} steps: - name: Git Checkout uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 3.6.0 diff --git a/.github/workflows/flutter_vm.yaml b/.github/workflows/flutter_vm.yaml index 9e29594b5c..36d9676e75 100644 --- a/.github/workflows/flutter_vm.yaml +++ b/.github/workflows/flutter_vm.yaml @@ -31,6 +31,9 @@ jobs: include: - channel: "stable" flutter-version: "3.10.1" + # Skips 'beta' tests on PRs + exclude: + - channel: ${{ (github.event_name == 'pull_request') && 'beta' || 'NONE' }} steps: - name: Git Checkout uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 3.6.0