Skip to content

Commit

Permalink
Work CI-CD
Browse files Browse the repository at this point in the history
- Move common variables to top.
- Migrate parameters to update dependents template.

***NO_CI***
  • Loading branch information
josesimoes committed Feb 5, 2025
1 parent d67d1c4 commit 4362d7b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ resources:
name: nanoframework/nf-tools
endpoint: nanoframework

variables:
- name: DOTNET_NOLOGO
value: true
- name: nugetPackageName
value: 'nanoFramework.System.Net.Http'

jobs:

##############################
Expand All @@ -50,16 +56,13 @@ jobs:

variables:
- group: sign-client-credentials
- name: DOTNET_NOLOGO
value: true
- name: buildPlatform
value: 'Any CPU'
- name: buildConfiguration
value: 'Release'
- name: nugetPackageName
value: 'nanoFramework.System.Net.Http'
- name: solution
value: 'nanoFramework.System.Net.Http.sln'
value: 'nanoFramework.System.Net.Http.sln'

steps:

# step from template @ nf-tools repo
Expand Down Expand Up @@ -127,9 +130,6 @@ jobs:
pool:
vmImage: 'windows-latest'

variables:
DOTNET_NOLOGO: true

steps:
# need this here in order to persist GitHub credentials
- checkout: self
Expand All @@ -138,7 +138,7 @@ jobs:
# update dependents
- template: azure-pipelines-templates/update-dependents.yml@templates
parameters:
waitBeforeUpdate: false
packageName: '$(nugetPackageName)'
repositoriesToUpdate: |
nanoFramework.WebServer
nanoFramework.Azure.Devices
Expand Down

0 comments on commit 4362d7b

Please sign in to comment.