Skip to content

Add top for Primary #40

Add top for Primary

Add top for Primary #40

Workflow file for this run

name: Build and Deploy
on: [push]
jobs:
android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.12.0'
channel: 'beta'
- run: flutter pub get
- run: dart run build_runner build
- run: flutter build apk --split-per-abi
- uses: actions/upload-artifact@v3
with:
name: android
path: build/app/outputs/flutter-apk/
web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.12.0'
channel: 'beta'
- run: flutter pub get
- run: dart run build_runner build
- run: flutter build web --base-href "/enthrirch/"
- uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build/web
- uses: actions/upload-artifact@v3
with:
name: web
path: build/web/