This commit is contained in:
Saad Najmi 2021-05-11 14:13:32 -05:00
Родитель 4a322af57b
Коммит 480e809f4d
1 изменённых файлов: 30 добавлений и 30 удалений

Просмотреть файл

@ -173,33 +173,33 @@ jobs:
yarn publish:beachball -- -b origin/master -n $(npmAuth) --access public -y --no-publish
displayName: 'Publish NPM Packages'
- job: NuGetPublishDryRun
displayName: NuGet Publish Dry Run
pool:
vmImage: 'macos-10.15'
demands: ['xcode', 'sh', 'npm']
timeoutInMinutes: 90 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
steps:
- checkout: self
persistCredentials: true
- template: templates/setup-repo-min-build.yml
# Clean Derived Data
- script: |
rm -rf $(Build.Repository.LocalPath)/DerivedData
displayName: 'Clean DerivedData'
- script: |
sudo gem install cocoapods
displayName: 'Install CocoaPods Environment'
- script: |
yarn bundle ios
workingDirectory: $(Build.Repository.LocalPath)/apps/ios
displayName: 'yarn bundle iOS'
- script: |
yarn bundle macos
workingDirectory: $(Build.Repository.LocalPath)/apps/macos
displayName: 'yarn bundle macOS'
# Select proper Xcode version
- template: templates/apple-xcode-select.yml
- template: templates/apple-xcode-build-static-libs.yml
- template: templates/nuget-publish-dry-run.yml
- job: NuGetPublishDryRun
displayName: NuGet Publish Dry Run
pool:
vmImage: 'macos-10.15'
demands: ['xcode', 'sh', 'npm']
timeoutInMinutes: 90 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
steps:
- checkout: self
persistCredentials: true
- template: templates/setup-repo-min-build.yml
# Clean Derived Data
- script: |
rm -rf $(Build.Repository.LocalPath)/DerivedData
displayName: 'Clean DerivedData'
- script: |
sudo gem install cocoapods
displayName: 'Install CocoaPods Environment'
- script: |
yarn bundle ios
workingDirectory: $(Build.Repository.LocalPath)/apps/ios
displayName: 'yarn bundle iOS'
- script: |
yarn bundle macos
workingDirectory: $(Build.Repository.LocalPath)/apps/macos
displayName: 'yarn bundle macOS'
# Select proper Xcode version
- template: templates/apple-xcode-select.yml
- template: templates/apple-xcode-build-static-libs.yml
- template: templates/nuget-publish-dry-run.yml