Skip to content

Commit acd4100

Browse files
committed
Work CI-CD
- Move common variables to top. - Migrate parameters to update dependents template. ***NO_CI***
1 parent d67d1c4 commit acd4100

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

azure-pipelines.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ resources:
3333
name: nanoframework/nf-tools
3434
endpoint: nanoframework
3535

36+
variables:
37+
- name: DOTNET_NOLOGO
38+
value: true
39+
- name: nugetPackageName
40+
value: 'nanoFramework.System.Net.Http'
41+
3642
jobs:
3743

3844
##############################
@@ -50,16 +56,13 @@ jobs:
5056

5157
variables:
5258
- group: sign-client-credentials
53-
- name: DOTNET_NOLOGO
54-
value: true
5559
- name: buildPlatform
5660
value: 'Any CPU'
5761
- name: buildConfiguration
5862
value: 'Release'
5963
- name: nugetPackageName
6064
value: 'nanoFramework.System.Net.Http'
61-
- name: solution
62-
value: 'nanoFramework.System.Net.Http.sln'
65+
6366
steps:
6467

6568
# step from template @ nf-tools repo
@@ -127,9 +130,6 @@ jobs:
127130
pool:
128131
vmImage: 'windows-latest'
129132

130-
variables:
131-
DOTNET_NOLOGO: true
132-
133133
steps:
134134
# need this here in order to persist GitHub credentials
135135
- checkout: self
@@ -138,7 +138,7 @@ jobs:
138138
# update dependents
139139
- template: azure-pipelines-templates/update-dependents.yml@templates
140140
parameters:
141-
waitBeforeUpdate: false
141+
packageName: '$(nugetPackageName)'
142142
repositoriesToUpdate: |
143143
nanoFramework.WebServer
144144
nanoFramework.Azure.Devices

0 commit comments

Comments
 (0)