Skip to content

Commit

Permalink
Create android-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gusibi authored Jan 4, 2024
1 parent 6e1873f commit 80f6421
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Android Release

# 1
on:
# 2
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

# 3
workflow_dispatch:

# 4
jobs:
# 5
build:
# 6
runs-on: ubuntu-latest

# 7
steps:
# 8
- uses: actions/checkout@v3
# 9
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: "12.x"
# 10
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.2'
channel: 'stable'
- run: flutter --version
# 12
- name: Get dependencies
run: flutter pub get

- name: Start build apk
run: flutter build apk
# Runs a set of commands using the runners shell
- name: Start release build
run: flutter build appbundle

0 comments on commit 80f6421

Please sign in to comment.