feat: build flutter use github action

This commit is contained in:
Simon Ding
2024-12-13 13:22:12 +08:00
parent f7e82fa464
commit 9d4848129f
2 changed files with 13 additions and 8 deletions

View File

@@ -29,6 +29,19 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3
- name: Build Web
run: |
cd ui
flutter pub get
flutter build web --no-web-resources-cdn
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5