Skip to content

Commit

Permalink
workflows: Update Set up Flutter environment for Linux/Android
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-design committed Oct 15, 2024
1 parent 22bde38 commit 9bb43cd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ jobs:
if: ${{ matrix.platform == 'linux' || matrix.platform == 'android' }}
run: |
sudo apt-get update
sudo apt-get install -y curl unzip xz-utils libglu1-mesa
curl -o flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.7.0-stable.tar.xz
tar xf flutter.tar.xz
export PATH="$PATH:$PWD/flutter/bin"
flutter doctor
sudo apt-get install -y snapd # Install snap if not already installed
sudo snap install flutter --classic # Install Flutter using snap
export PATH="$PATH:/snap/bin" # Add snap binaries to PATH
flutter doctor # Check Flutter installation
- name: Set up Flutter environment for macOS/iOS
if: ${{ matrix.platform == 'macos' || matrix.platform == 'ios' }}
Expand Down

0 comments on commit 9bb43cd

Please sign in to comment.