From 0ed16a82cc280819fba2455717f1fd7fee1b56b4 Mon Sep 17 00:00:00 2001 From: Phani Pavan K Date: Sun, 8 Feb 2026 11:26:47 +0530 Subject: [PATCH] add cache, switch to x64 build --- .gitea/workflows/build.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 61d7056..3031153 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -12,8 +12,15 @@ jobs: with: channel: master + - uses: actions/cache@v4 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ gitea.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Install Framework Dependencies - run: sudo apt-get update -y && sudo apt install -y ninja-build libgtk-3-dev + run: sudo apt-get update -y && sudo apt install -y ninja-build libgtk-3-dev x86_64-linux-gnu-gcc - name: Install Flutter uses: subosito/flutter-action@v2 @@ -31,4 +38,4 @@ jobs: # run: flutter test - name: Build - run: flutter build linux + run: flutter build linux --target-platform linux-x64