Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
set MAPS_API_KEY into secrets.properties
  • Loading branch information
xcarol authored Feb 23, 2024
1 parent a8e560b commit f0aa3a0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup android secret
uses: finnp/[email protected]
env:
FILE_NAME: "android/secrets.properties"
FILE_DATA: "MAPS_API_KEY=${{ secrets.SERVICE_ACCOUNT_JSON }}"

- name: Read secrets.properties
run: echo "MAPS_API_KEY=$MAPS_API_KEY" >> android/secrets.properties

- name: Set up Flutter
uses: subosito/flutter-action@v2

Expand Down

0 comments on commit f0aa3a0

Please sign in to comment.