Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Generate Markdown documentation #126

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
jobs:
- job: windows_build
pool:
vmImage: 'VS2017-Win2016'
vmImage: 'windows-2019'
steps:
- template: steps/download-artifacts.yml

Expand All @@ -27,6 +27,12 @@ stages:
dotnet pack imobiledevice-net\iMobileDevice-net.csproj -c Release
displayName: Generate code, build imobiledevice-net

- script: |
dotnet tool install xmldocmd -g
mkdir %SYSTEM_ARTIFACTSDIRECTORY%\md\
xmldocmd imobiledevice-net\bin\Release\netcoreapp2.0\imobiledevice-net.dll %SYSTEM_ARTIFACTSDIRECTORY%\docs\
displayName: Generate documentation

- script: |
7z x imobiledevice-net\bin\Release\imobiledevice-net.*.nupkg -ozip\

Expand Down Expand Up @@ -61,6 +67,12 @@ stages:
artifactName: imobiledevice-net
displayName: Publish imobiledevice-net
condition: always()
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)/docs'
artifactName: docs
displayName: Publish docs
condition: always()

- task: PublishBuildArtifacts@1
inputs:
Expand Down