Skip to content

Commit

Permalink
Fix CI env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Jul 23, 2022
1 parent 5ad0731 commit 0fb1c49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
mkdir -p "${TMP_SERVICEKEY_DIR}"
TMP_SERVICEKEY_FILE_PATH="${TMP_SERVICEKEY_DIR}"/service_account.json
echo $ENCODED_SERVICE_KEY | base64 -di > "${TMP_SERVICEKEY_FILE_PATH}"
echo "SUPPLY_JSON_KEY=$(echo TMP_SERVICEKEY_FILE_PATH)" >> $GITHUB_ENV
echo "SUPPLY_JSON_KEY=$(echo $TMP_SERVICEKEY_FILE_PATH)" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -134,7 +134,7 @@ jobs:
ruby-version: 2.7.6
bundler-cache: true

- name: Assemble beta APK
- name: Assemble beta and upload to Google Play
if: contains(steps.tagger.outputs.tag, '-beta')
run: bundle exec fastlane beta
env:
Expand All @@ -143,7 +143,7 @@ jobs:
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }}

- name: Assemble production APK
- name: Assemble production and upload to Google Play
if: "!contains(steps.tagger.outputs.tag, '-beta')"
run: bundle exec fastlane production
env:
Expand Down

0 comments on commit 0fb1c49

Please sign in to comment.