Merge branch 'release/v1.6.3' #26
Workflow file for this run
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 android app | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build: | |
# This job will run on ubuntu virtual machine | |
runs-on: ubuntu-latest | |
steps: | |
# Setup Java environment in order to build the Android app. | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
# Setup the flutter environment. | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: '3.7.6' | |
# Get flutter dependencies. | |
- run: flutter pub get | |
# Build apk. | |
- run: flutter build apk | |
# Rename the apk | |
- run: mv build/app/outputs/apk/release/app-release.apk ideckia-release.apk | |
- name: Release | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
files: ideckia-release.apk | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |