Skip to content

Commit

Permalink
seperate NuGet deploy to new stage
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Jan 29, 2020
1 parent d62fcc3 commit 984b47a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Source/build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ stages:
artifactName: Sandbox-Android
sandboxJobName: sandboxAndroid
appFile: 'com.prismlibrary.helloworld.apk'
appName: '$(AppCenterDroidAppName)'
devices: '$(AppCenterDroidDevices)'
appName: $(AppCenterDroidAppName)
devices: $(AppCenterDroidDevices)

- stage: buildPackage
displayName: Build Prism Library
Expand Down Expand Up @@ -118,7 +118,7 @@ stages:
# distributionGroup: '786183fd-2cad-4d31-913a-e4f943ab00cd'

- stage: deploy
displayName: Deploy Artifacts
displayName: CI Deploy Artifacts
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
jobs:
- deployment: GitHub
Expand Down Expand Up @@ -151,6 +151,10 @@ stages:
nuGetFeedType: external
publishFeedCredentials: 'Prism-MyGet'

- stage: nuGetDeploy
displayName: NuGet.org Deploy
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
jobs:
- deployment: NuGet
displayName: NuGet.org
environment: NuGet
Expand Down

0 comments on commit 984b47a

Please sign in to comment.