Skip to content

Commit 5ad6dd6

Browse files
authored
Fix the release-winget workflow (#728)
This fixes the problem that caused [all recent `release-winget` workflow runs](https://github.com/microsoft/git/actions/workflows/release-winget.yml) to fail.
2 parents 69c0749 + fec16ed commit 5ad6dd6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-git-installers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,8 +780,8 @@ jobs:
780780
- name: Download GPG public key signature file
781781
run: |
782782
az keyvault secret show --name "$GPG_PUBLIC_KEY_SECRET_NAME" \
783-
--vault-name "$AZURE_VAULT" --query "value" \
784-
| sed -e 's/^"//' -e 's/"$//' | base64 -d >msft-git-public.asc
783+
--vault-name "$AZURE_VAULT" --query "value" --output tsv |
784+
base64 -d >msft-git-public.asc
785785
mv msft-git-public.asc deb-package
786786
787787
- uses: actions/github-script@v6

.github/workflows/release-winget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454
5555
# Submit manifests
5656
$manifestDirectory = Split-Path "$manifestPath"
57-
.\wingetcreate.exe submit -t "(az keyvault secret show --name ${{ secrets.WINGET_TOKEN_SECRET_NAME }} --vault-name ${{ secrets.AZURE_VAULT }} --query "value")" $manifestDirectory
57+
.\wingetcreate.exe submit -t "(az keyvault secret show --name ${{ secrets.WINGET_TOKEN_SECRET_NAME }} --vault-name ${{ secrets.AZURE_VAULT }} --query "value" --output tsv)" $manifestDirectory
5858
shell: powershell

0 commit comments

Comments
 (0)