Skip to content

Commit

Permalink
Adding Script To Generate APK File
Browse files Browse the repository at this point in the history
  • Loading branch information
PB2204 committed Jul 24, 2024
1 parent 9295dde commit 74ccbca
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
branches:
- main
name: Build My App
jobs:
build:
name: Build and Release New APK File
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- run: flutter build apk --release --split-per-abi
- name: Push to Release
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/release/*"
tag: MightyMines-v1.0.0
token: ${{ secrets.TOKEN }}

0 comments on commit 74ccbca

Please sign in to comment.