We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c28afd commit 3eef546Copy full SHA for 3eef546
.azure-pipelines/generation-templates/build-and-publish-kiota.yml
@@ -1,7 +1,7 @@
1
steps:
2
-- template: /.azure-pipelines/generation-templates/use-dotnet-sdk.yml@self
3
- parameters:
4
- version: "10.x"
5
-
6
-- bash: dotnet tool install Microsoft.OpenApi.Kiota --tool-path $(Build.ArtifactStagingDirectory)
7
- displayName: 'Install latest Kiota from NuGet'
+- bash: |
+ LATEST_TAG=$(curl -sL -o /dev/null -w "%{url_effective}" "https://github.com/microsoft/kiota/releases/latest" | rev | cut -d'/' -f1 | rev)
+ echo "Downloading Kiota $LATEST_TAG"
+ curl -L "https://github.com/microsoft/kiota/releases/download/${LATEST_TAG}/linux-x64.zip" -o kiota.zip
+ unzip kiota.zip -d $(Build.ArtifactStagingDirectory)
+ displayName: 'Download latest Kiota from GitHub'
0 commit comments