Skip to content

Commit 2ae8e54

Browse files
committed
chore: try to fix java related
1 parent 99c6d17 commit 2ae8e54

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

.github/actions/setup_flutter/action.yml

-13
This file was deleted.

.github/workflows/release_for_android.yaml

+6-7
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v2
1818

19-
- name: Install JDK
20-
run: |
21-
sudo apt-get update
22-
sudo apt-get install -y openjdk-17-jdk-headless
23-
sudo update-java-alternatives -a
24-
java -version
25-
19+
- uses: actions/setup-java@v3
20+
with:
21+
distribution: temurin
22+
java-version: 17
23+
2624
- name: Install Flutter
2725
run: |
26+
java -version
2827
git submodule update --init --recursive
2928
3029
- name: Prepare Flutter Dependencies

0 commit comments

Comments
 (0)