rename branches #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Web Build | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.11.6 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11.6 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.19.0' | |
- name: Build with Flet | |
run: | | |
flet build web | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: package | |
path: | | |
build/web | |
if-no-files-found: error |