4444 uses : GetStream/stream-build-conventions-android/.github/actions/setup-gradle@main
4545
4646 - name : Assemble release and debug for metrics
47- run : ./gradlew :metrics:$METRICS_PROJECT:assemble
47+ run : ./gradlew :metrics:" $METRICS_PROJECT" :assemble
4848 env :
4949 BUILD_CACHE_AWS_REGION : ${{ secrets.BUILD_CACHE_AWS_REGION }}
5050 BUILD_CACHE_AWS_BUCKET : ${{ secrets.BUILD_CACHE_AWS_BUCKET }}
@@ -82,12 +82,12 @@ jobs:
8282 jq . metrics.json
8383
8484 # Move temporary JSON file to the final file
85- mv metrics.json $METRICS_FILE
85+ mv metrics.json " $METRICS_FILE"
8686
8787 - name : Update size badges
8888 run : |
8989 for module in $MODULES; do
90- size=$(jq --arg module "$module" ".release.\"$module\"" $METRICS_FILE)
90+ size=$(jq --arg module "$module" ".release.\"$module\"" " $METRICS_FILE" )
9191 sizeInMb=$(echo "scale=2; $size / 1024" | bc)
9292 badgeUrl="https://img.shields.io/badge/${module//-/--}-$sizeInMb%20MB-lightgreen"
9393 sed -i "s|!\[$module\](.*)||" README.md
@@ -97,13 +97,13 @@ jobs:
9797 run : |
9898 git remote set-url origin https://x-access-token:${{ secrets.GITHUB_PAT }}@github.com/${{ github.repository }}.git
9999
100- git fetch origin $BRANCH_NAME
101- git checkout $BRANCH_NAME
100+ git fetch origin " $BRANCH_NAME"
101+ git checkout " $BRANCH_NAME"
102102
103103 git config user.name "github-actions[bot]"
104104 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
105105
106- git add $METRICS_FILE README.md
106+ git add " $METRICS_FILE" README.md
107107 git commit -m "[skip ci] Update SDK sizes" || echo "No changes to commit"
108108
109109 - name : Push changes
0 commit comments