Skip to content

Commit 5b13dd7

Browse files
authored
Refactor CI_release.yml to include additional variables
1 parent 8414873 commit 5b13dd7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/CI_release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ pool:
33

44
variables:
55
ARTIFACT_DIR: $(Build.ArtifactStagingDirectory)
6+
esrpConnectionName: $(esrpConnectionName)
7+
appRegistrationClientId: $(appRegistrationClientId)
8+
esrpClientId: $(esrpClientId)
9+
esrpTenantId: $(esrpTenantId)
10+
esrpAuthAkvName: $(esrpAuthAkvName)
11+
esrpAuthCertName: $(esrpAuthCertName)
612

713
stages:
814
- stage: BuildAndPackage
@@ -41,13 +47,13 @@ stages:
4147
- task: EsrpCodeSigning@6
4248
inputs:
4349
ConnectedServiceName: '$(esrpConnectionName)'
44-
AppRegistrationClientId: '$(esrpClientId)'
50+
AppRegistrationClientId: '$(appRegistrationClientId)'
4551
AppRegistrationTenantId: '$(esrpTenantId)'
4652
EsrpClientId: '$(esrpClientId)'
4753
UseMSIAuthentication: true
4854
AuthAKVName: '$(esrpAuthAkvName)'
4955
AuthSignCertName: '$(esrpAuthCertName)'
50-
FolderPath: '$(Build.ArtifactStagingDirectory)'
56+
FolderPath: '$(ARTIFACT_DIR)'
5157
Pattern: '*.vsix'
5258
SessionTimeout: '60'
5359
MaxConcurrency: '50'
@@ -57,3 +63,4 @@ stages:
5763

5864

5965

66+

0 commit comments

Comments
 (0)