Skip to content

Commit

Permalink
chore: android release runs without fvm.
Browse files Browse the repository at this point in the history
* rm fvm need
* use latest stable flutter channel
* use jdk 17
  • Loading branch information
smallTrogdor authored Jun 25, 2024
1 parent 6d513e3 commit 59bffb0
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up JDK 11.
uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
java-version: "17"
distribution: "temurin"
cache: "gradle"

- name: Checkout design_system_flutter code.
uses: actions/checkout@v4
Expand All @@ -23,14 +23,10 @@ jobs:
fileDir: "./example/android/app/keys"
encodedString: ${{ secrets.KEYSTORE_64 }}

- name: Parse flutter version and channel specified in .fvm into env vars.
uses: kuhnroyal/flutter-fvm-config-action@v1

- name: Clone flutter version specified in .fvm.
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
channel: stable

- name: Run flutter doctor.
run: flutter doctor -v
Expand Down

0 comments on commit 59bffb0

Please sign in to comment.