mirror of
https://github.com/actions/runner-images.git
synced 2025-12-26 19:38:57 +08:00
use unique run_id instead of repeative run_number for VM releases (#7941)
This commit is contained in:
4
.github/workflows/ubuntu-win-generation.yml
vendored
4
.github/workflows/ubuntu-win-generation.yml
vendored
@@ -86,7 +86,7 @@ jobs:
|
||||
-ClientId ${{ secrets.CLIENT_ID }} `
|
||||
-ClientSecret ${{ secrets.CLIENT_SECRET }} `
|
||||
-Location ${{ secrets.AZURE_LOCATION }} `
|
||||
-ResourcesNamePrefix ${{ github.run_number }} `
|
||||
-ResourcesNamePrefix ${{ github.run_id }} `
|
||||
-ResourceGroup ${{ secrets.AZURE_RESOURCE_GROUP }} `
|
||||
-StorageAccount ${{ secrets.AZURE_STORAGE_ACCOUNT }} `
|
||||
-SubscriptionId ${{ secrets.AZURE_SUBSCRIPTION }} `
|
||||
@@ -113,7 +113,7 @@ jobs:
|
||||
- name: Create release for VM deployment
|
||||
run: |
|
||||
./images.CI/linux-and-win/create-release.ps1 `
|
||||
-BuildId ${{ github.run_number }} `
|
||||
-BuildId ${{ github.run_id }} `
|
||||
-Organization ${{ secrets.RELEASE_TARGET_ORGANIZATION }} `
|
||||
-DefinitionId ${{ secrets.RELEASE_TARGET_DEFINITION_ID }} `
|
||||
-Project ${{ secrets.RELEASE_TARGET_PROJECT }} `
|
||||
|
||||
Reference in New Issue
Block a user