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,12 +21,20 @@ jobs:
with:
channel: master
- uses: actions/cache@v4
- name: Generate Pub Hash
uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: pub-hash
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ gitea.sha }}
patterns: pubspec.lock
- name: Cache Pub Dependencies
uses: https://gitea.com
with:
path: |
~/.pub-cache
key: ${{ runner.os }}-pub-${{ steps.pub-hash.outputs.hash }}
restore-keys: |
${{ runner.os }}-buildx-
${{ runner.os }}-pub-
- name: Install Framework Dependencies
run: |
@@ -38,6 +46,7 @@ jobs:
with:
channel: master
flutter-version: 3.38.9
cache: true
- name: Check Flutter Installation
run: flutter doctor -v
@@ -65,11 +74,11 @@ jobs:
- name: Save Artifacts
uses: actions/upload-artifact@v3
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
- name: Create New Release
uses: akkuman/gitea-release-action@v1
with:
files: Prod-latest-x86_64.AppImage
prerelease: ${{ github.ref_type == 'tag' }}
prerelease: ${{ github.ref_type != 'v*' }}