mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
remove codemagic.yaml
This commit is contained in:
@ -1,50 +0,0 @@
|
||||
workflows:
|
||||
android-workflow:
|
||||
name: Android Workflow
|
||||
working_directory: app
|
||||
max_build_duration: 60
|
||||
instance_type: mac_mini
|
||||
|
||||
environment:
|
||||
node: latest
|
||||
groups:
|
||||
- keystore_credentials
|
||||
- google_play
|
||||
vars:
|
||||
FCI_KEYSTORE_PATH: /tmp/keystore.keystore
|
||||
|
||||
triggering:
|
||||
events:
|
||||
- push
|
||||
- tag
|
||||
- pull_request
|
||||
branch_patterns:
|
||||
- pattern: release
|
||||
include: true
|
||||
source: true
|
||||
|
||||
scripts:
|
||||
- name: Set up local properties
|
||||
script: echo "sdk.dir=$ANDROID_SDK_ROOT" > "$FCI_BUILD_DIR/app/local.properties"
|
||||
|
||||
- name: Set up key.properties file for code signing
|
||||
script: |
|
||||
echo $FCI_KEYSTORE | base64 --decode > $FCI_KEYSTORE_PATH
|
||||
cat >> "$FCI_BUILD_DIR/android/key.properties" <<EOF
|
||||
storePassword=$FCI_KEYSTORE_PASSWORD
|
||||
keyPassword=$FCI_KEY_PASSWORD
|
||||
keyAlias=$FCI_KEY_ALIAS
|
||||
storeFile=$FCI_KEYSTORE_PATH
|
||||
EOF
|
||||
|
||||
- name: Build Android App
|
||||
script: ./gradlew bundleRelease
|
||||
|
||||
artifacts:
|
||||
- app/build/outputs/**/**/*.aab
|
||||
- app/build/outputs/**/**/*.apk
|
||||
|
||||
publishing:
|
||||
google_play:
|
||||
credentials: $GCLOUD_SERVICE_ACCOUNT_CREDENTIALS
|
||||
track: production
|
||||
Reference in New Issue
Block a user