Skip to content

Commit

Permalink
Merge pull request #148 from ELTEGANI/add_fastlane_github_actions
Browse files Browse the repository at this point in the history
fix path of json key
  • Loading branch information
ELTEGANI authored Dec 17, 2020
2 parents d9352f4 + 1e92ed8 commit a6a2ee9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/releaseBeta.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Release (Beta Version)

on:
push:
pull_request:
paths:
- 'app/**'
branches:
- beta
- master

jobs:
deploy:
Expand All @@ -25,6 +25,7 @@ jobs:
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Cache Gradle
uses: actions/cache@v1
with:
Expand All @@ -44,6 +45,7 @@ jobs:
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Configure Keystore
run: |
echo "$ANDROID_KEYSTORE_FILE" > keystore.jks.b64
Expand All @@ -53,8 +55,8 @@ jobs:
echo "storePassword=$KEYSTORE_STORE_PASSWORD" >> keystore.properties
echo "keyPassword=$KEYSTORE_KEY_PASSWORD" >> keystore.properties
env:
ANDROID_KEYSTORE_FILE: ${{ secrets.ANDROID_KEYSTORE_FILE }}
KEYSTORE_KEY_ALIAS: ${{ secrets.KEYSTORE_KEY_ALIAS }}
BUILD_KEY_STORE: ${{ secrets.BUILD_KEY_STORE }}
ANDROID_KEY_STORE_ALIAS: ${{ secrets.ANDROID_KEY_STORE_ALIAS }}
KEYSTORE_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
KEYSTORE_STORE_PASSWORD: ${{ secrets.KEYSTORE_STORE_PASSWORD }}

Expand All @@ -66,4 +68,4 @@ jobs:
PLAY_CONFIG_JSON: ${{ secrets.PLAY_CONFIG_JSON }}

- name: Distribute app to Beta track 🚀
run: bundle exec fastlane beta
run: bundle exec fastlane beta

0 comments on commit a6a2ee9

Please sign in to comment.