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

Fixubuntu

Fixubuntu #1

Workflow file for this run

name: compileAPKIPA
on:
pull_request:
types:
- opened
- synchronize
jobs:
compile_IPA_APK:
runs-on: ubuntu-latest
steps:
- name: Checkout code with submodules
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Read app version from YAML
run: |
APP_VERSION=$(sed -n 's/^version:[ ]*//p' pubspec.yaml | tr -d '[:space:]')
echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.7.12
- uses: oberhauser-dev/flutter-release-action@v0
with:
token: ${{ github.token }}
dry-run: true
app-name: 'moonchain_app'
app-version: ${{ env.APP_VERSION }}
tag: ${{ github.ref }}
build-type: 'apk'
build-args: |-
--flavor product
--release