Skip to content

Commit

Permalink
fix: Fix old flutter version for CI/CD (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
M123-dev authored Jan 27, 2022
1 parent ab0a487 commit d620f09
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 25 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,14 @@ jobs:
API_JSON_FILE_DECRYPTKEY: ${{ secrets.API_JSON_FILE_DECRYPTKEY }}
STORE_JKS_DECRYPTKEY: ${{ secrets.STORE_JKS_DECRYPTKEY }}

- uses: actions/checkout@v2
- name: Setup Flutter
uses: actions/cache@v2
with:
path: ${{ runner.tool_cache }}/flutter
key: flutter-2.5.0-stable

- uses: subosito/flutter-action@v2
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 2.5.0
cache: true
cache-key: flutter #change this to force refresh cache
- run: flutter --version

- name: Get dependencies
run: ci/pub_upgrade.sh
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/ios-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ jobs:
distribution: 'zulu'
java-version: "12.x"

- uses: actions/checkout@v2
- name: Setup Flutter
uses: actions/cache@v2
with:
path: ${{ runner.tool_cache }}/flutter
key: flutter-2.5.0-stable
- uses: subosito/flutter-action@v2
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 2.5.0
cache: true
cache-key: flutter #change this to force refresh cache
- run: flutter --version

- name: Get dependencies
run: ci/pub_upgrade.sh
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/postsubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ jobs:
java-version: '14.x'

# Setup flutter
- uses: actions/checkout@v2
- name: Setup Flutter
uses: actions/cache@v2
with:
path: ${{ runner.tool_cache }}/flutter
key: flutter-2.5.0-stable
- uses: subosito/flutter-action@v2
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 2.5.0
cache: true
cache-key: flutter #change this to force refresh cache
- run: flutter --version

# Get dependencies.
- name: "Get dependencies"
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@ jobs:
uses: actions/checkout@v2

# Setup flutter
- uses: actions/checkout@v2
- name: Setup Flutter
uses: actions/cache@v2
with:
path: ${{ runner.tool_cache }}/flutter
key: flutter-2.5.0-stable
- uses: subosito/flutter-action@v2
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 2.5.0
cache: true
cache-key: flutter #change this to force refresh cache
- run: flutter --version

# Get dependencies.
- name: "Get dependencies"
Expand Down

0 comments on commit d620f09

Please sign in to comment.