mirror of
https://github.com/bitwarden/browser
synced 2025-12-26 05:03:33 +00:00
Update deprecated Azure Key Vault action in workflows (#3438)
* Update deprecated Azure Key Vault in workflows * Try without colons * Specify bash as shell runner
This commit is contained in:
15
.github/workflows/crowdin-pull.yml
vendored
15
.github/workflows/crowdin-pull.yml
vendored
@@ -32,10 +32,17 @@ jobs:
|
||||
|
||||
- name: Retrieve secrets
|
||||
id: retrieve-secrets
|
||||
uses: Azure/get-keyvault-secrets@80ccd3fafe5662407cc2e55f202ee34bfff8c403
|
||||
with:
|
||||
keyvault: "bitwarden-prod-kv"
|
||||
secrets: "crowdin-api-token"
|
||||
env:
|
||||
KEYVAULT: bitwarden-prod-kv
|
||||
SECRETS: |
|
||||
crowdin-api-token
|
||||
run: |
|
||||
for i in ${SECRETS//,/ }
|
||||
do
|
||||
VALUE=$(az keyvault secret show --vault-name $KEYVAULT --name $i --query value --output tsv)
|
||||
echo "::add-mask::$VALUE"
|
||||
echo "::set-output name=$i::$VALUE"
|
||||
done
|
||||
|
||||
- name: Download translations
|
||||
uses: bitwarden/gh-actions/crowdin@05052c5c575ceb09ceea397fe241879e199ed44b
|
||||
|
||||
Reference in New Issue
Block a user