generated from nventive/Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from nventive/dev/thla/fix-ci
fix: CI Artifact Names, Android and Firebase Conf. Injection
- Loading branch information
Showing
9 changed files
with
141 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
parameters: | ||
- name: pathToSrc | ||
type: string | ||
- name: firebaseJsonFile | ||
type: string | ||
- name: firebaseOptionsDartFile | ||
type: string | ||
- name: googleServicesJsonFile | ||
type: string | ||
|
||
steps: | ||
- task: DownloadSecureFile@1 | ||
name: firebaseJson | ||
displayName: "Download Keystore from Secure Files" | ||
inputs: | ||
secureFile: ${{ parameters.firebaseJsonFile }} | ||
|
||
- task: DownloadSecureFile@1 | ||
name: firebaseOptionsDart | ||
displayName: "Download Keystore from Secure Files" | ||
inputs: | ||
secureFile: ${{ parameters.firebaseOptionsDartFile }} | ||
|
||
- task: DownloadSecureFile@1 | ||
name: googleServicesJson | ||
displayName: "Download Keystore from Secure Files" | ||
inputs: | ||
secureFile: ${{ parameters.googleServicesJsonFile }} | ||
|
||
- task: PowerShell@2 | ||
displayName: Copy Firebase Configuration Files | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
Copy-Item -Path '$(firebaseJson.secureFilePath)' -Destination '${{ parameters.pathToSrc }}\app\firebase.json' | ||
Write-Host 'Firebase.json copied to ${{ parameters.pathToSrc }}/app/firebase.json' | ||
Copy-Item -Path '$(firebaseOptionsDart.secureFilePath)' -Destination '${{ parameters.pathToSrc }}\app\lib\firebase_options.dart' | ||
Write-Host 'FirebaseOptions.Dart copied to ${{ parameters.pathToSrc }}/app/lib/firebase_options.dart' | ||
Copy-Item -Path '$(googleServicesJson.secureFilePath)' -Destination '${{ parameters.pathToSrc }}\app\android\app\google-services.json' | ||
Write-Host 'GoogleServices.json copied to ${{ parameters.pathToSrc }}\app\android\app\google-services.json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.