5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-07 07:06:56 +00:00

Update to v2.1.2 (#180)

* Update to v2.1.2

* Update index.js
This commit is contained in:
Jason O'Donnell 2021-01-21 14:45:22 -05:00 committed by GitHub
parent ff547e1516
commit 5e5c06a3c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
## Unreleased ## Unreleased
## 2.1.2 (January 21st, 2021)
Bugs: Bugs:
* fixed bug where newlines were being rendered for multi-line secrets [GH-173](https://github.com/hashicorp/vault-action/pull/173) * fixed bug where newlines were being rendered for multi-line secrets [GH-173](https://github.com/hashicorp/vault-action/pull/173)

View file

@ -36,7 +36,7 @@ jobs:
steps: steps:
# ... # ...
- name: Import Secrets - name: Import Secrets
uses: hashicorp/vault-action@v2.1.1 uses: hashicorp/vault-action@v2.1.2
with: with:
url: https://vault.mycompany.com:8200 url: https://vault.mycompany.com:8200
token: ${{ secrets.VaultToken }} token: ${{ secrets.VaultToken }}

2
dist/index.js vendored
View file

@ -10772,7 +10772,7 @@ function selectData(data, selector) {
} }
if (result.startsWith(`"`)) { if (result.startsWith(`"`)) {
result = result.substring(1, result.length - 1); result = JSON.parse(result);
} }
return result; return result;
} }