🚀 Launch v1.0.0+1
Some checks failed
release-nightly / build-web (push) Has been cancelled
release-nightly / build-exe (push) Has been cancelled

This commit is contained in:
2024-08-30 15:06:12 +08:00
parent f772bbdbbc
commit b7b673c96d
5 changed files with 106 additions and 47 deletions

41
.github/workflows/nightly.yml vendored Normal file
View File

@ -0,0 +1,41 @@
name: release-nightly
on:
push:
branches: [master]
jobs:
build-web:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter pub get
- run: flutter build web --release --base-href=/
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: build-output-web
path: build/web
build-exe:
runs-on: windows-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter pub get
- run: flutter build windows
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: build-output-windows
path: build/windows/x64/runner/Release