Last active
September 1, 2021 16:11
-
-
Save James-Aidoo/0f7eb562ec69da6e1fe3a01152db7acd to your computer and use it in GitHub Desktop.
App Center Distribute template to be used for distributing multiple generated APKs with Azure Pipelines.
This file contains hidden or 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
# Variable 'AppCenter.ConnectionName' was defined in the Variables tab | |
# Variable 'AppCenter.AppSlug' was defined in the Variables tab | |
# Variable 'AppCenter.DestinationGroupId' was defined in the Variables tab | |
parameters: | |
- name: listOfApks # name of the parameter; required | |
type: object # data type of the parameter; required | |
default: apk | |
steps: | |
- ${{ each apk in parameters.listOfApks }}: | |
- task: AppCenterDistribute@3 | |
displayName: Deploy ${{ apk }} to Visual Studio App Center | |
inputs: | |
serverEndpoint: $(AppCenter.ConnectionName) #App Center Connection name as created on Azure DevOps for the project. Read more: Read More: https://docs.microsoft.com/en-us/appcenter/distribution/vsts-deploy#setting-up-distribution-with-app-center | |
appSlug: $(AppCenter.AppSlug) #App Center app slug. Read More: https://docs.microsoft.com/en-us/appcenter/distribution/vsts-deploy#setting-up-distribution-with-app-center | |
app: ${{ apk }} | |
symbolsType: Android | |
packParentFolder: false | |
releaseNotesInput: Test Test | |
destinationGroupIds: $(AppCenter.DestinationGroupId) | |
isSilent: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment