From 0b86be6796eaa735ed6e5f93e1900f5123711ee4 Mon Sep 17 00:00:00 2001 From: Aswin Biju Date: Thu, 5 Nov 2026 00:21:46 +0530 Subject: [PATCH] chore: fetch Flutter directly --- .gitea/workflows/deploy.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 49d8607..967d272 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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: