Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MCredbear/music_tools_flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
MCredbear committed Feb 19, 2024
2 parents e1571bd + b8bc46f commit 9a820d8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build_and_release_android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build And Release Android

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: subosito/flutter-action@v2.12.0
with:
flutter-version: '3.17.0-1.0.pre.38'
channel: 'master'

- name: Setup Java JDK
uses: actions/setup-java@v4.0.0
with:
java-version: '11'
distribution: 'zulu'

- run: flutter pub get
- run: flutter build apk --release

- name: Release
uses: ncipollo/release-action@v1.13.0
with:
artifacts: "build/app/outputs/flutter-apk/app-release.apk"
tag: '1.0.0+1'
token: ${{ secrets.YOUR_GITHUB_TOKEN }}

0 comments on commit 9a820d8

Please sign in to comment.