From 64d9f902205e919c82c3c72e286baedb6d9776b3 Mon Sep 17 00:00:00 2001 From: ilia-shipitsin <125650415+ilia-shipitsin@users.noreply.github.com> Date: Fri, 21 Jul 2023 10:02:53 +0200 Subject: [PATCH] use unique run_id instead of repeative run_number for VM releases (#7941) --- .github/workflows/ubuntu-win-generation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu-win-generation.yml b/.github/workflows/ubuntu-win-generation.yml index 96a19b472..0a464e3bf 100644 --- a/.github/workflows/ubuntu-win-generation.yml +++ b/.github/workflows/ubuntu-win-generation.yml @@ -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 }} `