Fix incorrect settings loading when updating DB by adding return to t… #33
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: Flutter Build | |
on: | |
push: | |
paths: | |
- "app/**" | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-app-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Setup Flutter SDK | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.24.0" | |
channel: stable | |
cache: true | |
- name: Setup Vulkan SDK | |
uses: humbletim/[email protected] | |
with: | |
vulkan-query-version: 1.3.204.0 | |
vulkan-components: Vulkan-Headers, Vulkan-Loader | |
vulkan-use-cache: true | |
- name: Install winget | |
uses: Cyberboss/install-winget@v1 | |
- name: Install FFmpeg | |
run: | | |
winget install -e --id Gyan.FFmpeg --accept-source-agreements --accept-package-agreements | |
- name: Copy .env.dev to .env | |
run: | | |
cd .\app | |
copy .env.dev .env | |
- name: Get dependencies | |
run: | | |
cd .\app | |
flutter pub get | |
- name: Generate files | |
run: | | |
cd .\app | |
dart run build_runner build --delete-conflicting-outputs | |
- name: Build App | |
run: | | |
cd .\app | |
flutter build windows | |
# build-app-linux: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Clone repository | |
# uses: actions/checkout@v2 | |
# - name: Setup Flutter SDK | |
# uses: subosito/flutter-action@v2 | |
# with: | |
# flutter-version: "2.8.1" | |
# channel: stable | |
# | |
# - name: Setup Vulkan SDK | |
# uses: humbletim/[email protected] | |
# with: | |
# vulkan-query-version: 1.3.204.0 | |
# vulkan-components: Vulkan-Headers, Vulkan-Loader | |
# vulkan-use-cache: true | |
# | |
# - name: Install Dependencies | |
# run: | | |
# sudo apt update -y | |
# sudo apt install ffmpeg -y | |
# sudo apt install clang -y | |
# sudo apt install cmake ninja-build libgtk-3-dev -y | |
# sudo apt install libvulkan-dev vulkan-validationlayers-dev -y | |
# sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev -y | |
# - name: Copy .env.dev to .env | |
# run: | | |
# cd ./app | |
# cp .env.dev .env | |
# - name: Get dependencies | |
# run: | | |
# cd ./app | |
# flutter pub get | |
# - name: Generate files | |
# run: | | |
# cd ./app | |
# dart run build_runner build --delete-conflicting-outputs | |
# - name: Build App | |
# run: | | |
# cd ./app | |
# flutter build linux |