From c63df6769e0ed752e250954cc943bb91b6a2d121 Mon Sep 17 00:00:00 2001 From: Daniel Gomez Rico Date: Tue, 8 Aug 2023 14:49:13 -0500 Subject: [PATCH 1/2] Downgrade flutter on CI --- .github/workflows/deploy_pubspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_pubspec.yml b/.github/workflows/deploy_pubspec.yml index 57411043..92afce7f 100644 --- a/.github/workflows/deploy_pubspec.yml +++ b/.github/workflows/deploy_pubspec.yml @@ -9,11 +9,11 @@ jobs: - uses: actions/checkout@v2 - uses: subosito/flutter-action@v2 with: - flutter-version: '3.0.0' + flutter-version: '2.8.1' channel: 'stable' cache: true cache-key: flutter-3 # optional, change this to force refresh cache - cache-path: ${{ runner.tool_cache }}/flutter # optional, change this to specify the cache path + cache-path: ${{ runner.tool_cache }}/flutter-3 # optional, change this to specify the cache path - name: Prepare Env shell: bash From b194c4b722cffbde62846c5f34acc2997715ec20 Mon Sep 17 00:00:00 2001 From: Daniel Gomez Rico Date: Tue, 8 Aug 2023 14:52:23 -0500 Subject: [PATCH 2/2] Fix pub command --- .github/workflows/deploy_pubspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_pubspec.yml b/.github/workflows/deploy_pubspec.yml index 92afce7f..7f1ad20b 100644 --- a/.github/workflows/deploy_pubspec.yml +++ b/.github/workflows/deploy_pubspec.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: subosito/flutter-action@v2 with: - flutter-version: '2.8.1' + flutter-version: '3.0.0' channel: 'stable' cache: true cache-key: flutter-3 # optional, change this to force refresh cache @@ -28,6 +28,6 @@ jobs: - run: flutter pub get - name: Check Publish Warnings - run: pub publish --dry-run + run: flutter pub publish --dry-run #- name: Publish Package # run: pub publish -f