chore: fetch Flutter directly
All checks were successful
deploy / deploy (push) Successful in 4m35s

This commit is contained in:
Aswin B. S 2026-11-05 00:21:46 +05:30
parent f39c471e8e
commit 0b86be6796

View File

@ -12,17 +12,22 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- uses: https://github.com/subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2
with:
flutter-version: 3.44.1
channel: stable
cache: true
- name: Check out the code
uses: actions/checkout@v4
- name: Get Flutter 3.44.1
run: |
git clone --depth 1 --branch 3.44.1 https://github.com/flutter/flutter.git "$RUNNER_TEMP/flutter"
echo "$RUNNER_TEMP/flutter/bin" >> "$GITHUB_PATH"
"$RUNNER_TEMP/flutter/bin/flutter" config --no-analytics --no-cli-animations
- run: flutter pub get --enforce-lockfile
- run: flutter analyze
- run: flutter test
- run: flutter build web --release
- name: Install packages
run: flutter pub get --enforce-lockfile
- name: Analyze
run: flutter analyze
- name: Run tests
run: flutter test
- name: Build the web app
run: flutter build web --release
- name: Put it live on the VPS
env: