Skip to content

Bump version

Bump version #12

Workflow file for this run

name: Build Tagged
on:
push:
tags:
- "v*"
jobs:
build:
name: "Tagged Release"
runs-on: "ubuntu-latest"
env:
working-directory: ./companion_app
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable' # or: 'beta', 'dev' or 'master'
- run: flutter pub get
working-directory: ${{ env.working-directory }}
- run: flutter build apk
working-directory: ${{ env.working-directory }}
- run: cp -v companion_app/build/app/outputs/apk/release/app-release.apk ./open-android-backup-companion.apk
- run: sudo apt update && sudo apt install p7zip-full
- run: 7z a -bb3 -tzip -mx9 -x!.*\* -x!website\* -x!companion_app\* Open_Android_Backup_${{ github.ref_name }}_Bundle.zip .
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
title: "Open Android Backup Stable - ${{ github.ref_name }}"
files: |
companion_app/build/app/outputs/apk/release/app-release.apk
Open_Android_Backup_${{ github.ref_name }}_Bundle.zip