🔨 Update github action workflow

This commit is contained in:
LittleSheep 2024-07-16 20:44:13 +08:00
parent 8c04b81b7c
commit e38d8339f1

View File

@ -17,6 +17,11 @@ jobs:
cache: true
- run: flutter pub get
- run: flutter build web
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: build-output-web
path: build/web
build-apk:
runs-on: ubuntu-latest
steps:
@ -29,6 +34,11 @@ jobs:
cache: true
- run: flutter pub get
- run: flutter build apk --split-per-abi
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: build-output-android
path: build/app/outputs/flutter-apk/*.apk
build-exe:
runs-on: windows-latest
steps:
@ -40,4 +50,10 @@ jobs:
channel: stable
cache: true
- run: flutter pub get
- run: flutter build window
- run: flutter build windows
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: build-output-windows
path: build/windows