Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: Build and Create PR
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Flutter
uses: subosito/flutter-action@v4
with:
flutter-version: '3.13.6' # You can specify the Flutter version here
- name: Install dependencies
run: flutter pub get
- name: Build Flutter app
run: flutter build apk --release
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.PUSH}}
title: "Merge dev into qa"
body: "Automated pull request from dev to qa."
branch: qa