Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Merge pull request #16 from Rohit19060/dependabot/pub/fluttertoast-8.2.4 #12

Merge pull request #16 from Rohit19060/dependabot/pub/fluttertoast-8.2.4

Merge pull request #16 from Rohit19060/dependabot/pub/fluttertoast-8.2.4 #12

Workflow file for this run

name: "Build & Release"
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
channel: "stable"
- run: flutter pub upgrade
- run: flutter analyze
- run: flutter build apk --split-per-abi
# - 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/apk/release/*,build/ios/iphoneos/app.ipa"
artifacts: "build/app/outputs/apk/release/*"
tag: v1.0.${{ github.run_number }}
token: ${{ secrets.GITHUB_TOKEN }}