Skip to content

Commit

Permalink
fix: env issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaygojiya committed Jun 24, 2024
1 parent c9723f1 commit 4f7d5c9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 80 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Android Build
on:
push:
branches:
- 'devlope'
- 'main'
tags:
- 'v*'
jobs:
Expand All @@ -14,6 +14,16 @@ jobs:
- name: Checkout repository
uses: actions/[email protected]

- name: env set
uses: skiddph/[email protected]
with:
file: .env
env:
WEB_CLIENT_ID: ${{ secrets.WEB_CLIENT_ID }}
FB_APP_ID: ${{ secrets.FB_APP_ID }}
FB_LOGIN_PROTOCOL: ${{ secrets.FB_LOGIN_PROTOCOL }}
FB_CLIENT_TOKEN: ${{ secrets.FB_CLIENT_TOKEN }}

- name: Setup Java JDK
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -69,10 +79,7 @@ jobs:
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
WEB_CLIENT_ID: ${{ secrets.WEB_CLIENT_ID }}
FB_APP_ID: ${{ secrets.FB_APP_ID }}
FB_LOGIN_PROTOCOL: ${{ secrets.FB_LOGIN_PROTOCOL }}
FB_CLIENT_TOKEN: ${{ secrets.FB_CLIENT_TOKEN }}

run: |
cat .env
ls -a
Expand Down
74 changes: 0 additions & 74 deletions .github/workflows/test.yml

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"start": "react-native start",
"test": "jest",
"link-assets": "react-native-asset",
"generate:apk": "cd android && ./gradlew assembleRelease && cd .."
"generate:apk": "cd android && ./gradlew assembleRelease && cd ..",
"generate:aab": "react-native build-android --mode=release"

},
"dependencies": {
"@os-team/i18next-react-native-language-detector": "^1.0.33",
Expand Down

0 comments on commit 4f7d5c9

Please sign in to comment.