1- name : Release Store
1+ name : Release
22
33on :
44 workflow_dispatch :
1515 FORCE_COLOR : 1
1616
1717jobs :
18- build-store :
18+ build-release :
1919 if : github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v')
2020 runs-on : ubuntu-latest
2121 timeout-minutes : 45
22- environment : release-store
22+ environment : release
2323
2424 permissions :
2525 contents : read
4747 mkdir -p app/src/mainnetRelease
4848 printf '%s' "$MAINNET_RELEASE_GOOGLE_SERVICES_JSON_BASE64" | base64 --decode > app/src/mainnetRelease/google-services.json
4949
50- - name : Decode store keystore
50+ - name : Decode release keystore
5151 env :
5252 BITKIT_KEYSTORE_BASE64 : ${{ secrets.BITKIT_KEYSTORE_BASE64 }}
5353 run : |
5858 printf '%s' "$BITKIT_KEYSTORE_BASE64" | base64 --decode > "$keystore_path"
5959 echo "KEYSTORE_FILE=$keystore_path" >> "$GITHUB_ENV"
6060
61- - name : Build store release artifacts
61+ - name : Build release artifacts
6262 env :
6363 GPR_USER : ${{ secrets.GPR_USER || github.actor }}
6464 GPR_TOKEN : ${{ secrets.GPR_TOKEN || github.token }}
@@ -68,11 +68,11 @@ jobs:
6868 KEY_PASSWORD : ${{ secrets.BITKIT_KEY_PASSWORD }}
6969 run : ./gradlew assembleMainnetRelease bundleMainnetRelease --no-daemon --stacktrace
7070
71- - name : Collect store artifacts
71+ - name : Collect release artifacts
7272 id : artifacts
7373 run : |
7474 set -euo pipefail
75- artifact_dir="$RUNNER_TEMP/store- release"
75+ artifact_dir="$RUNNER_TEMP/release"
7676 mkdir -p "$artifact_dir"
7777 find app/build/outputs/bundle/mainnetRelease -name 'bitkit-mainnet-release-*.aab' -print0 |
7878 xargs -0 -I {} cp {} "$artifact_dir/"
8181 (cd "$artifact_dir" && sha256sum *.aab *.apk > SHA256SUMS.txt)
8282 echo "artifact_dir=$artifact_dir" >> "$GITHUB_OUTPUT"
8383
84- - name : Upload store artifacts
84+ - name : Upload release artifacts
8585 uses : actions/upload-artifact@v6
8686 with :
87- name : bitkit-store- release-${{ github.run_number }}
87+ name : bitkit-release-${{ github.run_number }}
8888 path : ${{ steps.artifacts.outputs.artifact_dir }}
8989 retention-days : 30
0 commit comments