Skip to content

Commit a6a2ee9

Browse files
authored
Merge pull request #148 from ELTEGANI/add_fastlane_github_actions
fix path of json key
2 parents d9352f4 + 1e92ed8 commit a6a2ee9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/releaseBeta.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Release (Beta Version)
22

33
on:
4-
push:
4+
pull_request:
55
paths:
66
- 'app/**'
77
branches:
8-
- beta
8+
- master
99

1010
jobs:
1111
deploy:
@@ -25,6 +25,7 @@ jobs:
2525
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
2626
restore-keys: |
2727
${{ runner.os }}-gems-
28+
2829
- name: Cache Gradle
2930
uses: actions/cache@v1
3031
with:
@@ -44,6 +45,7 @@ jobs:
4445
run: |
4546
bundle config path vendor/bundle
4647
bundle install --jobs 4 --retry 3
48+
4749
- name: Configure Keystore
4850
run: |
4951
echo "$ANDROID_KEYSTORE_FILE" > keystore.jks.b64
@@ -53,8 +55,8 @@ jobs:
5355
echo "storePassword=$KEYSTORE_STORE_PASSWORD" >> keystore.properties
5456
echo "keyPassword=$KEYSTORE_KEY_PASSWORD" >> keystore.properties
5557
env:
56-
ANDROID_KEYSTORE_FILE: ${{ secrets.ANDROID_KEYSTORE_FILE }}
57-
KEYSTORE_KEY_ALIAS: ${{ secrets.KEYSTORE_KEY_ALIAS }}
58+
BUILD_KEY_STORE: ${{ secrets.BUILD_KEY_STORE }}
59+
ANDROID_KEY_STORE_ALIAS: ${{ secrets.ANDROID_KEY_STORE_ALIAS }}
5860
KEYSTORE_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
5961
KEYSTORE_STORE_PASSWORD: ${{ secrets.KEYSTORE_STORE_PASSWORD }}
6062

@@ -66,4 +68,4 @@ jobs:
6668
PLAY_CONFIG_JSON: ${{ secrets.PLAY_CONFIG_JSON }}
6769

6870
- name: Distribute app to Beta track 🚀
69-
run: bundle exec fastlane beta
71+
run: bundle exec fastlane beta

0 commit comments

Comments
 (0)