Skip to content

Commit bcf8686

Browse files
committed
set FileID in variables section
1 parent ef45a89 commit bcf8686

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

script/vsts/platforms/windows.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ]
1919
IsReleaseBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsReleaseBranch'] ]
2020
IsSignedZipBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsSignedZipBranch'] ]
21+
FileID: ${{ replace(variables(buildArch), "x64", "-x64") }}
2122

2223
steps:
2324
- template: templates/preparation.yml
@@ -37,15 +38,6 @@ jobs:
3738

3839
- template: templates/test.yml
3940

40-
- pwsh: |
41-
if ($env:BUILD_ARCH -eq "x64") {
42-
$env:FileID="-x64"
43-
echo "##vso[task.setvariable variable=FileID]$env:FileID" # Azure syntax
44-
}
45-
env:
46-
BUILD_ARCH: $(buildArch)
47-
displayName: Set FileID based on the arch
48-
4941
- template: templates/publish.yml
5042
parameters:
5143
artifacts:

0 commit comments

Comments
 (0)