Skip to content

Commit 9600b45

Browse files
authored
Merge pull request #1102 from microsoftgraph/andrueastman/net8kiota
Kiota generation using NET target
2 parents c5de7ff + 5a417f2 commit 9600b45

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.azure-pipelines/generation-templates/build-and-publish-kiota.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
steps:
22
- template: use-dotnet-sdk.yml
3+
parameters:
4+
version: '8.x' # Kiota is a NET8 app
35

46
- checkout: kiota
57
displayName: checkout kiota
@@ -10,7 +12,7 @@ steps:
1012

1113
- task: CopyFiles@2
1214
inputs:
13-
sourceFolder: '$(Build.SourcesDirectory)/src/kiota/bin/$(BuildConfiguration)/net7.0'
15+
sourceFolder: '$(Build.SourcesDirectory)/src/kiota/bin/$(BuildConfiguration)/net8.0'
1416
contents: '**/*'
1517
targetFolder: '$(Build.ArtifactStagingDirectory)'
1618
displayName: Copy Kiota executable

.azure-pipelines/generation-templates/set-up-for-generation-kiota.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ parameters:
1010
steps:
1111
- template: set-user-config.yml
1212
- template: use-dotnet-sdk.yml
13+
parameters:
14+
version: '8.x' # Kiota is a NET8 app
1315
- ${{ parameters.downloadSteps }}
1416

1517
#Download the openAPI artifacts

0 commit comments

Comments
 (0)