ci: add key.properties creation, limit gradle memory
This commit is contained in:
1 parent
e4b127bee1
commit
446e2dc889
1 file changed
+11
@@ -8,6 +8,8 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
env:
|
||||
GRADLE_OPTS: "-Xmx3g -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false"
|
||||
steps:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
@@ -39,6 +41,15 @@ jobs:
|
||||
env:
|
||||
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
|
||||
|
||||
- name: Create key.properties
|
||||
run: |
|
||||
cat > android/key.properties <<EOF
|
||||
storePassword=Store_sc4l3
|
||||
keyPassword=Store_sc4l3
|
||||
keyAlias=siab
|
||||
storeFile=../siab-release.keystore
|
||||
EOF
|
||||
|
||||
- name: Build App Bundle
|
||||
run: |
|
||||
flutter build appbundle \
|
||||
|
||||
Reference in new issue
Block a user