TP-36014 | removed nexus upload (#7511)

This commit is contained in:
Maila Rajanikanth
2023-08-11 21:20:16 +05:30
committed by GitHub
parent 4e82c4de9d
commit 55406c38c6
3 changed files with 1 additions and 29 deletions

View File

@@ -112,7 +112,6 @@ jobs:
if: inputs.type == 'release' && github.event_name == 'push' && startsWith(github.ref_name, 'release-')
run: |
current_version=$(awk '/VERSION_CODE/ {print $4}' app/build.gradle)
./gradlew pushArtifactoryToNexus -PNEXUS_USERNAME=${{ secrets.NEXUS_USERNAME }} -PNEXUS_PASSWORD=${{ secrets.NEXUS_PASSWORD }} -PINPUT_PATH=build/outputs/universal_apk/qaRelease/app-qa-release-universal.apk -PAPK_NAME="release_$current_version" || true
current_apk_size=$(stat -c %s app/build/outputs/universal_apk/qaRelease/app-qa-release-universal.apk || true)
echo "[Version : $current_version, Size : $((current_apk_size/1024)) KB]"
timestamp=$(($(date +%s) * 1000)) && echo "{\"events\":[{\"attributes\":{\"prod_apk_size\":$current_apk_size,\"app_version\":$current_version},\"event_name\":\"app_dev_exp_metrics\",\"timestamp\":$timestamp}]}" || true

View File

@@ -2,7 +2,7 @@ name: Metrics Logger
on:
schedule:
- cron: '30 22 * * *'
- cron: '30 1 * * *'
env: