forked from MXCzkEVM/datadash-wallet
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (34 loc) · 944 Bytes
/
compile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: compileAPKIPA
on:
pull_request:
types:
- opened
- synchronize
jobs:
compile_IPA_APK:
runs-on: macos-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
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.7.0'
channel: 'stable'
- 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: 'ipa'
flutter-release-version: '0.2.4'
build-args: |-
--flavor product
--release