Skip to content

Commit 87850c5

Browse files
authored
Merge pull request #444 from microsoft/user/numform/gallery-bundle-arm64
Publish for arm64 in the Gallery Bundle
2 parents fac25f2 + aa00080 commit 87850c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Samples/WinMLSamplesGallery/WinMLSamplesGallery (Package)/WinMLSamplesGallery (Package).wapproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
<PropertyGroup>
3838
<ProjectGuid>dea7791f-55cf-4ed5-bc99-3870997b1242</ProjectGuid>
3939
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
40+
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
4041
<AssetTargetFallback>net5.0-windows$(TargetPlatformVersion);$(AssetTargetFallback)</AssetTargetFallback>
4142
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
4243
<DefaultLanguage>en-US</DefaultLanguage>

azure-pipelines-samples.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
inputs:
128128
solution: 'Samples/WinMLSamplesGallery/WinMLSamplesGallery.sln'
129129
vsVersion: "16.0"
130-
msbuildArgs: '/p:UapAppxPackageBuildMode=SideloadOnly /p:AppxPackageSigningEnabled=false /p:AppxBundle=Always "/p:AppxBundlePlatforms=x86|x64" /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build,Publish'
130+
msbuildArgs: '/p:UapAppxPackageBuildMode=SideloadOnly /p:AppxPackageSigningEnabled=false /p:AppxBundle=Always "/p:AppxBundlePlatforms=x86|x64|arm64" /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build,Publish'
131131
platform: '$(BuildPlatform)'
132132
configuration: '$(BuildConfiguration)'
133133
msbuildArchitecture: x64
@@ -154,12 +154,11 @@ jobs:
154154
SqueezeNetObjectDetection\*
155155
condition: succeededOrFailed()
156156

157-
- task: CopyFiles@2
158-
displayName: 'Copy App Packages'
157+
- task: PowerShell@2
158+
displayName: 'Move App Packages'
159159
inputs:
160-
targetFolder: '$(Build.ArtifactStagingDirectory)\$(BuildPlatform)\$(BuildConfiguration)\AppPackages'
161-
sourceFolder: 'Samples/WinMLSamplesGallery/WinMLSamplesGallery (Package)/AppPackages'
162-
contents: '**\*'
160+
targetType: 'inline'
161+
script: 'mv Samples/WinMLSamplesGallery/"WinMLSamplesGallery (Package)"/AppPackages $(Build.ArtifactStagingDirectory)\$(BuildPlatform)\$(BuildConfiguration)\AppPackages'
163162
condition: and(succeededOrFailed(), eq(variables['BuildConfiguration'], 'Release'))
164163

165164
- task: CopyFiles@2

0 commit comments

Comments
 (0)