Skip to content

Commit

Permalink
Env Secrets
Browse files Browse the repository at this point in the history
Added handling for env secrets
  • Loading branch information
Alex Risch authored and Alex Risch committed Feb 15, 2024
1 parent 4440fe6 commit 3249387
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
jobs:
android:
runs-on: ubuntu-latest
environment: Dev
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -14,6 +15,15 @@ jobs:
java-version: '17'
distribution: 'zulu'
- uses: actions/setup-node@v3
- name: Create .env file
run: |
echo XMTP_ENV=${{ env.XMTP_ENV }} >> .env
echo THRID_WEB_CLIENT_ID=${{ secrets.THRID_WEB_CLIENT_ID }} >> .env
echo AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} >> .env
echo AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} >> .env
echo AWS_REGION=${{ secrets.AWS_REGION }} >> .env
echo AWS_S3_BUCKET=${{ secrets.AWS_S3_BUCKET }} >> .env
echo AWS_S3_FOLDER=${{ secrets.AWS_S3_FOLDER }} >> .env
- run: yarn
- run: cd android && ./gradlew assembleRelease
- name: Archive code coverage results
Expand Down

0 comments on commit 3249387

Please sign in to comment.