diff --git a/pipelines/linux-x64.yml b/pipelines/linux-x64.yml index d9768a4..6df74e8 100644 --- a/pipelines/linux-x64.yml +++ b/pipelines/linux-x64.yml @@ -17,9 +17,6 @@ variables: steps: - script: dotnet publish $(projectDirectory) -c $(buildConfiguration) -r $(runtimeIdentifier) -o $(outputDirectory) /p:Version=$(Build.BuildNumber) --self-contained true displayName: 'Publish self-contained executable for $(runtimeIdentifier)' -- task: PublishBuildArtifacts@1 +- publish: '$(outputDirectory)' displayName: 'Publish artefact for $(runtimeIdentifier)' - inputs: - PathtoPublish: '$(outputDirectory)' - ArtifactName: '$(artifactName)' - publishLocation: 'Container' + artifact: '$(artifactName)' diff --git a/pipelines/osx-x64.yml b/pipelines/osx-x64.yml index c3479f2..f804c85 100644 --- a/pipelines/osx-x64.yml +++ b/pipelines/osx-x64.yml @@ -17,9 +17,6 @@ variables: steps: - script: dotnet publish $(projectDirectory) -c $(buildConfiguration) -r $(runtimeIdentifier) -o $(outputDirectory) /p:Version=$(Build.BuildNumber) --self-contained true displayName: 'Publish self-contained executable for $(runtimeIdentifier)' -- task: PublishBuildArtifacts@1 +- publish: '$(outputDirectory)' displayName: 'Publish artefact for $(runtimeIdentifier)' - inputs: - PathtoPublish: '$(outputDirectory)' - ArtifactName: '$(artifactName)' - publishLocation: 'Container' + artifact: '$(artifactName)' \ No newline at end of file diff --git a/pipelines/win10-x64.yml b/pipelines/win10-x64.yml index a8717a0..b83b65f 100644 --- a/pipelines/win10-x64.yml +++ b/pipelines/win10-x64.yml @@ -17,9 +17,6 @@ variables: steps: - script: dotnet publish $(projectDirectory) -c $(buildConfiguration) -r $(runtimeIdentifier) -o $(outputDirectory) /p:Version=$(Build.BuildNumber) --self-contained true displayName: 'Publish as self-contained executable for $(runtimeIdentifier)' -- task: PublishBuildArtifacts@1 +- publish: '$(outputDirectory)' displayName: 'Publish artefact for $(runtimeIdentifier)' - inputs: - PathtoPublish: '$(outputDirectory)' - ArtifactName: '$(artifactName)' - publishLocation: 'Container' + artifact: '$(artifactName)'