WinGetSvc-Release-20200626.1-01 (#2202)

This commit is contained in:
Ruben Guerrero
2020-06-30 15:31:29 -07:00
committed by GitHub
parent 142355e51d
commit 01bc76de5b

View File

@@ -39,6 +39,7 @@ jobs:
SCAN_ENDPOINT: $(AzFuncScanEndpoint) SCAN_ENDPOINT: $(AzFuncScanEndpoint)
LABEL_ENDPOINT: $(AzFuncSetLabelOnPullRequestEndpoint) LABEL_ENDPOINT: $(AzFuncSetLabelOnPullRequestEndpoint)
CLEANUP_ENDPOINT: $(AzFuncCleanupEndpoint) CLEANUP_ENDPOINT: $(AzFuncCleanupEndpoint)
LABEL_KEY: $(AzureFunctionLabelKey)
# Validates integrity of pull request. # Validates integrity of pull request.
- task: CmdLine@2 - task: CmdLine@2
@@ -125,6 +126,7 @@ jobs:
condition: succeededOrFailed() condition: succeededOrFailed()
variables: variables:
HostKeySecret: $[ dependencies.FileValidation.outputs['wingetsetup.hostkey']] HostKeySecret: $[ dependencies.FileValidation.outputs['wingetsetup.hostkey']]
LabelKeySecret : $[ dependencies.FileValidation.outputs['wingetsetup.labelkey']]
LabelEndpointSecret: $[ dependencies.FileValidation.outputs['wingetsetup.labelEndpoint']] LabelEndpointSecret: $[ dependencies.FileValidation.outputs['wingetsetup.labelEndpoint']]
RepositoryId: $[ dependencies.FileValidation.outputs['wingetsetup.repoId']] RepositoryId: $[ dependencies.FileValidation.outputs['wingetsetup.repoId']]
CleanupEndpointSecret: $[ dependencies.filevalidation.outputs['wingetsetup.cleanupEndpoint']] CleanupEndpointSecret: $[ dependencies.filevalidation.outputs['wingetsetup.cleanupEndpoint']]
@@ -136,7 +138,7 @@ jobs:
condition: eq(variables['WinGet.RepositoryType'], 'GitHub') condition: eq(variables['WinGet.RepositoryType'], 'GitHub')
inputs: inputs:
function: '$(LabelEndpointSecret)' function: '$(LabelEndpointSecret)'
key: '$(HostKeySecret)' key: '$(LabelKeySecret)'
body: | body: |
{ {
"operationId": "$(Build.BuildNumber)", "operationId": "$(Build.BuildNumber)",