Skip to content

Commit 8505296

Browse files
authored
Set up CI with Azure Pipelines (#12)
* Set up CI with Azure Pipelines [skip ci] * Updated pull request pipeline
1 parent 5e122f7 commit 8505296

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

azure-pipelines-pull-request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
trigger:
1+
trigger: none
2+
pr:
23
- master
34
pool:
45
vmImage: 'windows-latest'

azure-pipelines.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
trigger:
2-
- master
2+
batch: true
3+
branches:
4+
include:
5+
- master
6+
pr: none
37
pool:
48
vmImage: 'windows-latest'
59
variables:
@@ -104,21 +108,20 @@ stages:
104108
POWERAPPS_SPECFLOW_BINDINGS_TEST_ADMIN_USERNAME: $(User ADO Integration Username)
105109
POWERAPPS_SPECFLOW_BINDINGS_TEST_ADMIN_PASSWORD: $(User ADO Integration Password)
106110
POWERAPPS_SPECFLOW_BINDINGS_TEST_URL: $(URL)
107-
- stage: PublishtoPrivateFeed
108-
displayName: Publish to Private Feed
111+
- stage: PublishPackage
112+
displayName: Publish Package
109113
jobs:
110-
- job: PublishPrivateJob
111-
displayName: Publish to Private Feed
114+
- job: PublishToNuGetGalleryJob
115+
displayName: Publish To NuGet Gallery
112116
steps:
113117
- checkout: none
114118
- download: current
115119
displayName: Download NuGet package artifact
116120
artifact: Capgemini.PowerApps.SpecFlowBindings
117121
- task: NuGetCommand@2
118-
displayName: Push to private feed
122+
displayName: 'NuGet push'
119123
inputs:
120124
command: push
121125
packagesToPush: '$(Pipeline.Workspace)/Capgemini.PowerApps.SpecFlowBindings/*.nupkg'
122-
nuGetFeedType: 'internal'
123-
publishVstsFeed: '25162f08-da5e-4c04-bac0-40216eaa4bf9'
124-
126+
nuGetFeedType: external
127+
publishFeedCredentials: NuGet

0 commit comments

Comments
 (0)