Skip to content

Merge branch 'main' of https://github.com/Sayan2908/CopdBuddy #9

Merge branch 'main' of https://github.com/Sayan2908/CopdBuddy

Merge branch 'main' of https://github.com/Sayan2908/CopdBuddy #9

Workflow file for this run

on:
pull_request:
branches:
- main
push:
branches:
- main
name: "Build & Release"
jobs:
build:
name: Build & Release
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '16'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.5'
- run: flutter pub get
- run: flutter build apk
- name: Push to Releases
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/flutter-apk/*"
tag: v1.0.${{ github.run_number }}
token: ${{ secrets.TOKEN }}
# push to master, main, develop
# pull request on main master