add icons and NOTHING ELSE :) #7
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: | |
- 'lib/**' | |
- 'pubspec.yaml' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.27.2' # Specify the Flutter version you want to use | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Install Dependencies (Linux only) | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt-get install clang cmake git ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev | |
- name: Build for Linux | |
if: matrix.os == 'ubuntu-latest' | |
run: flutter build linux | |
- name: Build for macOS | |
if: matrix.os == 'macos-latest' | |
run: flutter build macos | |
- name: Build for Windows | |
if: matrix.os == 'windows-latest' | |
run: flutter build windows | |
- name: Upload build artifacts | |
uses: actions/[email protected] | |
with: | |
name: build-${{ matrix.os }} | |
path: | | |
build/linux/x64/release/bundle/** | |
build/macos/Build/Products/Release/** | |
build/windows/x64/runner/Release/** |