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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
env:
|
||||||
|
GRADLE_OPTS: "-Xmx3g -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false"
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
@@ -39,6 +41,15 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
|
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
|
- name: Build App Bundle
|
||||||
run: |
|
run: |
|
||||||
flutter build appbundle \
|
flutter build appbundle \
|
||||||
|
|||||||
Reference in new issue
Block a user