Skip to content

Commit

Permalink
ci: Flutter version as env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-bak committed Dec 10, 2023
1 parent 48e7a52 commit 1664ae1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.2'
flutter-version: ${{ vars.FLUTTER_VERSION }}
- run: dart format --set-exit-if-changed lib
2 changes: 1 addition & 1 deletion .github/workflows/github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.2"
flutter-version: ${{ vars.FLUTTER_VERSION }}

- name: Install dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
java-version: '11'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.2'
flutter-version: ${{ vars.FLUTTER_VERSION }}
- name: Configure Keystore for Android
run: |
echo "$PLAY_STORE_UPLOAD_KEY" | base64 --decode > app/upload-keystore.jks
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
java-version: '11'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.2'
flutter-version: ${{ vars.FLUTTER_VERSION }}
- name: Configure Keystore for Android
run: |
echo "$PLAY_STORE_UPLOAD_KEY" | base64 --decode > app/upload-keystore.jks
Expand All @@ -71,7 +71,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.2'
flutter-version: ${{ vars.FLUTTER_VERSION }}
- run: flutter config --no-analytics
- run: flutter pub get
- run: flutter build ios --no-codesign

0 comments on commit 1664ae1

Please sign in to comment.