Skip to content

Commit 869d7bc

Browse files
committed
fixing official build (#5596)
1 parent 4c3324c commit 869d7bc

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

build/vsts-ci.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,9 @@ phases:
5050
queue:
5151
name: Hosted macOS
5252
steps:
53+
# Work around MacOS Homebrew image/environment bug: https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
5354
- script: |
54-
brew uninstall [email protected] |
55-
brew uninstall [email protected] |
56-
brew untap local/openssl |
57-
brew untap local/python2
55+
rm -rf /usr/local/bin/2to3
5856
displayName: MacOS Homebrew bug Workaround
5957
continueOnError: true
6058
- script: brew update && brew unlink [email protected] && brew install mono-libgdiplus && brew install $(Build.SourcesDirectory)/build/libomp.rb && brew link libomp --force
@@ -235,7 +233,7 @@ phases:
235233
# Depending on the value of DotNetFinalVersionKind, the name of the package will change.
236234
# For our nightly builds we want it to be empty, and when creating the official nugets, we want it to be "release"
237235
# the value of the version kind is set when queuing the publishing job on AzureDevOps by adding a VERSIONKIND variable
238-
# See more info in: https://github.com/dotnet/arcade/blob/master/Documentation/CorePackages/Versioning.md#package-version
236+
# See more info in: https://github.com/dotnet/arcade/blob/master/Documentation/CorePackages/Versioning.md#package-version
239237
- script: ./build.cmd -configuration $(BuildConfig) -pack -ci /p:OfficialBuildId=$(OfficialBuildId) /p:DotNetFinalVersionKind=$(DotnetVersionKind) /p:RestorePackagesPath=$(Build.SourcesDirectory)\packages /p:NUGET_PACKAGES=$(Build.SourcesDirectory)\packages
240238
displayName: Build Packages
241239

@@ -261,7 +259,7 @@ phases:
261259
displayName: Push packages to AzureDevOps feed
262260
inputs:
263261
command: push
264-
packagesToPush: $(Build.SourcesDirectory)/artifacts/**/*.nupkg;!$(Build.SourcesDirectory)/artifacts/**/*.snupkg
262+
packagesToPush: $(Build.SourcesDirectory)/artifacts/**/*.nupkg;!$(Build.SourcesDirectory)/artifacts/**/*.snupkg
265263
nuGetFeedType: external
266264
publishFeedCredentials: machinelearning-dnceng-public-feed
267265

0 commit comments

Comments
 (0)