1
0
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:
Michał Chęciński
2022-09-05 11:39:27 +02:00
committed by GitHub
parent 123db002dc
commit d1243c97a4
11 changed files with 244 additions and 92 deletions

View File

@@ -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