Skip to content

Commit

Permalink
Create build_artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 authored Jan 21, 2024
1 parent 4601ec6 commit a30a09e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build_apk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
pull_request:
jobs:
build_android:
name: Build Android Artifact
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:
flutter-version: '3.7.7'
- run: flutter pub get
- run: flutter build apk
- run: flutter build appbundle

build_ios:
name: Build IOS Artifact
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
- run: flutter pub get
- run: flutter test
- run: flutter build ios --release --no-codesign

0 comments on commit a30a09e

Please sign in to comment.