Skip to content

Commit bf45354

Browse files
committed
ci: rename release workflow
1 parent 602ee4c commit bf45354

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Store
1+
name: Release
22

33
on:
44
workflow_dispatch:
@@ -15,11 +15,11 @@ env:
1515
FORCE_COLOR: 1
1616

1717
jobs:
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
@@ -47,7 +47,7 @@ jobs:
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: |
@@ -58,7 +58,7 @@ jobs:
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/"
@@ -81,9 +81,9 @@ jobs:
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

.github/workflows/reproducible-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v')
3333
runs-on: ubuntu-latest
3434
timeout-minutes: 60
35-
environment: release-store
35+
environment: release
3636

3737
permissions:
3838
actions: read
@@ -61,7 +61,7 @@ jobs:
6161
mkdir -p app/src/mainnetRelease
6262
printf '%s' "$MAINNET_RELEASE_GOOGLE_SERVICES_JSON_BASE64" | base64 --decode > app/src/mainnetRelease/google-services.json
6363
64-
- name: Decode store keystore
64+
- name: Decode release keystore
6565
env:
6666
BITKIT_KEYSTORE_BASE64: ${{ secrets.BITKIT_KEYSTORE_BASE64 }}
6767
run: |

0 commit comments

Comments
 (0)