Skip to content

Commit

Permalink
workflows: Fix Set up Flutter environment for Android Pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-design committed Oct 15, 2024
1 parent 4a76dfc commit 35a5ab8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ jobs:
if: ${{ matrix.platform == 'linux' || matrix.platform == 'android' }}
run: |
sudo apt-get update
sudo apt-get install -y snapd
sudo snap install --stable openjdk
sudo apt-get install -y snapd openjdk-17-jdk
echo "JAVA_HOME=$(dirname $(dirname $(readlink -f $(which java))))" >> $GITHUB_ENV
java -version
sudo snap install flutter --classic
export PATH="$PATH:/snap/bin"
flutter doctor
Expand Down

0 comments on commit 35a5ab8

Please sign in to comment.