You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit changes the workflow to strip the enclosing double quotes
from the PAT.
In a98c3d7 (fixup! Adding winget workflows, 2024-10-28), I
converted the `release-winget` workflow from hard-coding the PAT that is
required as a repository secret to retrieving it from an Azure KeyVault
instead.
However, I made a crucial mistake there: The `az keyvault` call outputs
a JSON-formatted value by default. Using the "tab-separated value"
format as we do elsewhere fixes the problem: There is only one value,
therefore no tab will be inserted, and certainly no double quotes will
surround the retrieved value.
This bug prevented the workflow from running correctly, and Matthew had
to follow the steps manually instead. Let's fix this so that next time,
it will work without any hassle (apart from needing to recreate the PAT
and storing it in the Key Vault because of the PAT's short-lived
nature).
Signed-off-by: Johannes Schindelin <[email protected]>
0 commit comments