Update .gitea/workflows/build.yaml
Some checks failed
Build CI / AMD64 Build (push) Failing after 3s

This commit is contained in:
2026-03-12 02:44:33 +00:00
parent ce25d26f70
commit e118648a37

View File

@@ -21,23 +21,32 @@ jobs:
with: with:
channel: master channel: master
- uses: actions/cache@v4 - name: Generate Pub Hash
uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: pub-hash
with: with:
path: /tmp/.buildx-cache patterns: pubspec.lock
key: ${{ runner.os }}-buildx-${{ gitea.sha }}
- name: Cache Pub Dependencies
uses: https://gitea.com
with:
path: |
~/.pub-cache
key: ${{ runner.os }}-pub-${{ steps.pub-hash.outputs.hash }}
restore-keys: | restore-keys: |
${{ runner.os }}-buildx- ${{ runner.os }}-pub-
- name: Install Framework Dependencies - name: Install Framework Dependencies
run: | run: |
sudo apt-get update -y sudo apt-get update -y
sudo apt install -y ninja-build cmake clang libgtk-3-dev sudo apt install -y ninja-build cmake clang libgtk-3-dev
- name: Install Flutter - name: Install Flutter
uses: subosito/flutter-action@v2 uses: subosito/flutter-action@v2
with: with:
channel: master channel: master
flutter-version: 3.38.9 flutter-version: 3.38.9
cache: true
- name: Check Flutter Installation - name: Check Flutter Installation
run: flutter doctor -v run: flutter doctor -v
@@ -65,11 +74,11 @@ jobs:
- name: Save Artifacts - name: Save Artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: Prod-${{ github.ref_type == 'tag' && github.ref_name || 'master' }}-x86_64.AppImage name: Prod-${{ github.ref_type == 'v*' && github.ref_name || 'master' }}-x86_64.AppImage
path: Prod-latest-x86_64.AppImage path: Prod-latest-x86_64.AppImage
- name: Create New Release - name: Create New Release
uses: akkuman/gitea-release-action@v1 uses: akkuman/gitea-release-action@v1
with: with:
files: Prod-latest-x86_64.AppImage files: Prod-latest-x86_64.AppImage
prerelease: ${{ github.ref_type == 'tag' }} prerelease: ${{ github.ref_type != 'v*' }}