Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mllrr96 committed Apr 3, 2024
1 parent 40a3b62 commit 4d325fb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '21'
java-version: '12.x'
cache: 'gradle'
- name: Run flutter doctor
run: flutter doctor -v
Expand All @@ -35,13 +35,13 @@ jobs:
- name: Write google-services file for Android
run: printf "${{ secrets.GOOGLE_SERVICE_ANDROID }}" > android/app/google-services.json
- name: Write firebase app id file for for iOS
uses: mobiledevops/secret-to-file-action@v1
with:
base64-encoded-secret: ${{ secrets.FIREBASE_APP_ID }}
filename: "firebase_app_id_file.json"
is-executable: false
working-directory: "ios/firebase_app_id_file.json"
# - name: Write firebase app id file for for iOS
# uses: mobiledevops/secret-to-file-action@v1
# with:
# base64-encoded-secret: ${{ secrets.FIREBASE_APP_ID }}
# filename: "firebase_app_id_file.json"
# is-executable: false
# working-directory: "ios/firebase_app_id_file.json"
# run: printf "${{ secrets.FIREBASE_APP_ID }}" > ios/firebase_app_id_file.json
- name: Write GoogleService-Info.plist file for iOS
run: printf "${{ secrets.GOOGLE_INFO_PLIST_IOS }}" > ios/Runner/GoogleService-Info.plist
Expand Down

0 comments on commit 4d325fb

Please sign in to comment.