[mod] update screenshot #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
name: Build & Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' # See 'Supported distributions' for available options | |
java-version: '17' | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.16.9" | |
channel: 'stable' | |
architecture: x64 | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run tests | |
run: flutter test | |
# - name: Build debug apk | |
# Build Android | |
# run: flutter build apk --debug --split-per-abi | |
# Build iOS | |
# run: | | |
# flutter build ios --no-codesign | |
# cd build/ios/iphoneos | |
# mkdir Payload | |
# cd Payload | |
# ln -s ../Runner.app | |
# cd .. | |
# zip -r app.ipa Payload | |
# - name: Push to Releases | |
# uses: ncipollo/release-action@v1 | |
# with: | |
# artifacts: "build/app/outputs/flutter-apk/*.apk" | |
# tag: v1.0.${{ github.run_number }} | |
# token: ${{ secrets.TOKEN }} |