Skip to content

Commit 64d9f90

Browse files
use unique run_id instead of repeative run_number for VM releases (#7941)
1 parent be30fbc commit 64d9f90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ubuntu-win-generation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
-ClientId ${{ secrets.CLIENT_ID }} `
8787
-ClientSecret ${{ secrets.CLIENT_SECRET }} `
8888
-Location ${{ secrets.AZURE_LOCATION }} `
89-
-ResourcesNamePrefix ${{ github.run_number }} `
89+
-ResourcesNamePrefix ${{ github.run_id }} `
9090
-ResourceGroup ${{ secrets.AZURE_RESOURCE_GROUP }} `
9191
-StorageAccount ${{ secrets.AZURE_STORAGE_ACCOUNT }} `
9292
-SubscriptionId ${{ secrets.AZURE_SUBSCRIPTION }} `
@@ -113,7 +113,7 @@ jobs:
113113
- name: Create release for VM deployment
114114
run: |
115115
./images.CI/linux-and-win/create-release.ps1 `
116-
-BuildId ${{ github.run_number }} `
116+
-BuildId ${{ github.run_id }} `
117117
-Organization ${{ secrets.RELEASE_TARGET_ORGANIZATION }} `
118118
-DefinitionId ${{ secrets.RELEASE_TARGET_DEFINITION_ID }} `
119119
-Project ${{ secrets.RELEASE_TARGET_PROJECT }} `

0 commit comments

Comments
 (0)