From 00e21e350e89c210f1f6dc4287ac28532420012e Mon Sep 17 00:00:00 2001 From: Amir Panahandeh Date: Sat, 3 Aug 2024 01:10:17 +0330 Subject: [PATCH] Update workflow triggers --- .github/workflows/fleather.yml | 8 ++------ .github/workflows/performance_test.yaml | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/fleather.yml b/.github/workflows/fleather.yml index df30a166..0baad36e 100644 --- a/.github/workflows/fleather.yml +++ b/.github/workflows/fleather.yml @@ -1,10 +1,6 @@ name: build -on: - push: - branches: - - 'master' - pull_request: +on: push jobs: build: @@ -17,7 +13,7 @@ jobs: flutter-version: "3.22.0" cache: true # Manually Update this `key` - cache-key: "20230512" + cache-key: "3.22.0-stable" - run: dart pub global activate coverage # diff --git a/.github/workflows/performance_test.yaml b/.github/workflows/performance_test.yaml index 373d2593..ff1bece7 100644 --- a/.github/workflows/performance_test.yaml +++ b/.github/workflows/performance_test.yaml @@ -1,10 +1,6 @@ name: Performance Test -on: - push: - branches: - - 'master' - pull_request: +on: [push, workflow_dispatch] jobs: test: @@ -18,7 +14,7 @@ jobs: flutter-version: "3.22.0" cache: true # Manually Update this `key` - cache-key: "20230512" + cache-key: "3.22.0-stable" - name: Restore reference summary from cache id: performance_timelines_cache_restore