trying to use go router with note app #29
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
name: Build V Notes Android APK | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build APK's | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/[email protected] | |
with: | |
channel: "stable" | |
- run: flutter pub get | |
- run: flutter pub outdated | |
- run: flutter pub upgrade | |
- run: flutter build apk --release | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: 'build/app/outputs/flutter-apk/app-release.apk' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit: master | |
tag: v1.0.${{ github.run_number }} |