Skip to content

feature: build app using CICD #1

feature: build app using CICD

feature: build app using CICD #1

Workflow file for this run

on:
push:
branches:
- main
- master
name: "Build & Release"
jobs:
build:
name: Build & Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '12'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
- run: flutter build apk --release
- name: Push to Releases
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/release/*"
tag: v1.0.${{ github.run_number }}
token: ${{ secrets.TOKENEXCELR }}