🔨 Update github action workflow
This commit is contained in:
parent
8c04b81b7c
commit
e38d8339f1
20
.github/workflows/nightly.yml
vendored
20
.github/workflows/nightly.yml
vendored
@ -2,7 +2,7 @@ name: release-nightly
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build-web:
|
||||
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user