Skip to content

Commit

Permalink
Install compatibility tool from nuget instead of pulling a github rel…
Browse files Browse the repository at this point in the history
…ease.
  • Loading branch information
EraYaN committed Jun 10, 2020
1 parent 19e00dc commit 4c92160
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .ci/azure-pipelines-abi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
packageType: sdk
version: ${{ parameters.DotNetSdkVersion }}

- task: DotNetCoreCLI@2
displayName: 'Install ABI CompatibilityChecker tool'
inputs:
command: custom
custom: tool
arguments: 'update compatibilitychecker -g'

- task: DownloadPipelineArtifact@2
displayName: "Download New Assembly Build Artifact"
inputs:
Expand Down Expand Up @@ -72,15 +79,6 @@ jobs:
overWrite: true
flattenFolders: true

- task: DownloadGitHubRelease@0
displayName: "Download ABI Compatibility Check Tool"
inputs:
connection: Jellyfin Release Download
userRepository: EraYaN/dotnet-compatibility
defaultVersionType: "latest"
itemPattern: "**-ci.zip"
downloadPath: "$(System.ArtifactsDirectory)"

- task: ExtractFiles@1
displayName: "Extract ABI Compatibility Check Tool"
inputs:
Expand All @@ -89,8 +87,10 @@ jobs:
cleanDestinationFolder: true

# The `--warnings-only` switch will swallow the return code and not emit any errors.
- task: CmdLine@2
displayName: "Execute ABI Compatibility Check Tool"
- task: DotNetCoreCLI@2
displayName: 'Execute ABI Compatibility Check Tool'
inputs:
script: "dotnet tools/CompatibilityCheckerCLI.dll current-release/$(AssemblyFileName) new-release/$(AssemblyFileName) --azure-pipelines --warnings-only"
command: custom
custom: compat
arguments: 'current-release/$(AssemblyFileName) new-release/$(AssemblyFileName) --azure-pipelines --warnings-only'
workingDirectory: $(System.ArtifactsDirectory)

0 comments on commit 4c92160

Please sign in to comment.