Updated flutter installation way
This commit is contained in:
@@ -15,11 +15,18 @@ jobs:
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y jq
|
apt-get install -y jq
|
||||||
|
|
||||||
- name: Set Up Flutter
|
- name: Install Flutter
|
||||||
uses: subosito/flutter-action@v2
|
run: |
|
||||||
with:
|
# Flutter SDK herunterladen und entpacken
|
||||||
channel: 'stable'
|
wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.35.6-stable.tar.xz
|
||||||
flutter-version: '3.35.6'
|
tar xf flutter_linux_3.35.6-stable.tar.xz
|
||||||
|
# Flutter zum PATH hinzufügen
|
||||||
|
echo "$(pwd)/flutter/bin" >> $GITHUB_PATH
|
||||||
|
# Flutter Doctor ausführen (optional)
|
||||||
|
flutter doctor -v
|
||||||
|
|
||||||
|
- name: Get dependencies
|
||||||
|
run: flutter pub get
|
||||||
|
|
||||||
- name: Check Formatting
|
- name: Check Formatting
|
||||||
run: flutter analyze
|
run: flutter analyze
|
||||||
@@ -31,13 +38,19 @@ jobs:
|
|||||||
needs: lint
|
needs: lint
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install jq
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y jq
|
||||||
|
|
||||||
- name: Set Up Flutter
|
- name: Set Up Flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: 'stable'
|
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
|
flutter-version: '3.35.0'
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
|
|||||||
Reference in New Issue
Block a user