adding to pr
This commit is contained in:
Родитель
c9973aa108
Коммит
bf285367f0
|
@ -68,3 +68,23 @@ jobs:
|
|||
|
||||
steps:
|
||||
- template: templates/apple-nuget-publish.yml
|
||||
|
||||
- job: Win32NuGetPublish
|
||||
displayName: Win32 FluentTester NuGet Publish
|
||||
pool:
|
||||
vmImage: 'windows-2019'
|
||||
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:
|
||||
- template: templates/win32-nuget-publish.yml
|
||||
|
||||
- job: Win32NuGetPublish
|
||||
displayName: Win32 FluentTester NuGet Publish
|
||||
pool:
|
||||
vmImage: 'windows-2019'
|
||||
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:
|
||||
- template: templates/win32-nuget-publish.yml
|
|
@ -179,3 +179,13 @@ jobs:
|
|||
# cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
|
||||
# steps:
|
||||
# - template: templates/apple-nuget-publish.yml
|
||||
|
||||
- job: Win32NuGetPublish
|
||||
displayName: Win32 FluentTester NuGet Publish
|
||||
pool:
|
||||
vmImage: 'windows-2019'
|
||||
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:
|
||||
- template: templates/win32-nuget-publish.yml
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
steps:
|
||||
- checkout: self
|
||||
persistCredentials: true
|
||||
|
||||
- template: setup-repo-min-build.yml
|
||||
|
||||
- script: |
|
||||
yarn bundle
|
||||
workingDirectory: apps/win32
|
||||
displayName: 'Bundling win32'
|
||||
# Pack the NuGet package
|
||||
- task: CmdLine@1
|
||||
displayName: 'Create NuGet package for Win32 FluentTester bundle.'
|
||||
inputs:
|
||||
filename: nuget
|
||||
arguments: 'pack Microsoft.FluentUI.FluentTesterWin32.nuspec -OutputDirectory $(Build.ArtifactStagingDirectory)/nuget -OutputFileNamesWithoutVersion -Verbosity detailed -Version $(Build.BuildNumber)'
|
||||
workingFolder: 'apps/win32/nuget'
|
||||
|
||||
# push the package package
|
||||
- task: NuGetCommand@2
|
||||
displayName: 'Publish NuGet package'
|
||||
inputs:
|
||||
command: push
|
||||
packagesToPush: '$(Build.ArtifactStagingDirectory)/nuget/'
|
||||
nuGetFeedType: external
|
||||
publishFeedCredentials: react-native
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Microsoft.FluentUI.FluentTesterWin32</id>
|
||||
<version>1.0.0</version>
|
||||
<title>FluentUI-React-Native Win32 Bundle</title>
|
||||
<authors>Microsoft Office CXE</authors>
|
||||
<projectUrl>https://github.com/microsoft/fluentui-react-native.git</projectUrl>
|
||||
<description>This package contains the React Native JS bundle of FluentUI-React-Native's Win32 Test App.</description>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="..\dist\index.win32.bundle" target="win32" />
|
||||
</files>
|
||||
</package>
|
Загрузка…
Ссылка в новой задаче