From 47fb2b7d1e2cf71b9bc4a056581b0ba37b710185 Mon Sep 17 00:00:00 2001 From: JM Faircloth Date: Tue, 20 Jun 2023 11:25:45 -0500 Subject: [PATCH] revert build.yml test --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9cf3ce8..1ca0561 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -153,7 +153,8 @@ jobs: my-secret/test altSecret | NAMED_ALTSECRET ; my-secret/nested/test otherAltSecret ; - - name: Test Vault Action (JSON string format) + # The ordering of these two Test Vault Action JSON String Format steps matters + - name: Test Vault Action JSON String Format (part 1/2) id: import-secrets uses: ./ with: @@ -161,8 +162,10 @@ jobs: token: testtoken secrets: | secret/data/test-json-string jsonString | JSON_STRING ; + + - name: Test Vault Action JSON String Format (part 2/2) run: | - echo "${{ env.JSON_STRING }}" > secrets.json + echo "${{ steps.import-secrets.outputs.jsonString }}" > secrets.json cat secrets.json # we should be able to parse the output as JSON jq -c . < secrets.json