Skip to content

Commit 980279a

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

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

azure-pipelines.yml

Lines changed: 7 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.IO.Ports'
41+
3642
jobs:
3743

3844
##############################
@@ -50,16 +56,12 @@ 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: solution
6064
value: 'nanoFramework.System.IO.Ports.sln'
61-
- name: nugetPackageName
62-
value: 'nanoFramework.System.IO.Ports'
6365

6466
steps:
6567

@@ -87,9 +89,6 @@ jobs:
8789
pool:
8890
vmImage: 'windows-latest'
8991

90-
variables:
91-
DOTNET_NOLOGO: true
92-
9392
steps:
9493
# need this here in order to persist GitHub credentials
9594
- checkout: self
@@ -98,7 +97,7 @@ jobs:
9897
# update dependents
9998
- template: azure-pipelines-templates/update-dependents.yml@templates
10099
parameters:
101-
waitBeforeUpdate: ${{ eq(variables['UPDATE_DEPENDENTS'], 'true') }}
100+
packageName: '$(nugetPackageName)'
102101
repositoriesToUpdate: |
103102
nanoFramework.Logging
104103

0 commit comments

Comments
 (0)