File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -81,12 +81,13 @@ jobs:
8181
8282 - name : Build image
8383 run : |
84+ $ResourcesNamePrefix = ${{ github.run_id }} % [System.UInt32]::MaxValue
8485 ./images.CI/linux-and-win/build-image.ps1 `
8586 -TemplatePath ${{ env.TemplatePath }} `
8687 -ClientId ${{ secrets.CLIENT_ID }} `
8788 -ClientSecret ${{ secrets.CLIENT_SECRET }} `
8889 -Location ${{ secrets.AZURE_LOCATION }} `
89- -ResourcesNamePrefix ${{ github.run_number }} `
90+ -ResourcesNamePrefix $ResourcesNamePrefix `
9091 -ResourceGroup ${{ secrets.AZURE_RESOURCE_GROUP }} `
9192 -StorageAccount ${{ secrets.AZURE_STORAGE_ACCOUNT }} `
9293 -SubscriptionId ${{ secrets.AZURE_SUBSCRIPTION }} `
@@ -112,8 +113,9 @@ jobs:
112113
113114 - name : Create release for VM deployment
114115 run : |
116+ $BuildId = ${{ github.run_id }} % [System.UInt32]::MaxValue
115117 ./images.CI/linux-and-win/create-release.ps1 `
116- -BuildId ${{ github.run_number }} `
118+ -BuildId $BuildId `
117119 -Organization ${{ secrets.RELEASE_TARGET_ORGANIZATION }} `
118120 -DefinitionId ${{ secrets.RELEASE_TARGET_DEFINITION_ID }} `
119121 -Project ${{ secrets.RELEASE_TARGET_PROJECT }} `
You can’t perform that action at this time.
0 commit comments