From f94c258dda6edb39e9d5d4b77a87d4a07e3cb55c Mon Sep 17 00:00:00 2001 From: phlax Date: Mon, 6 Nov 2023 19:59:21 +0000 Subject: [PATCH] `gh-actions/github/env`: Improve actions (#960) Signed-off-by: Ryan Northey --- gh-actions/github/env/load/action.yml | 8 ++++++++ gh-actions/github/env/save/action.yml | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/gh-actions/github/env/load/action.yml b/gh-actions/github/env/load/action.yml index 3f09ce21d..48b2922ef 100644 --- a/gh-actions/github/env/load/action.yml +++ b/gh-actions/github/env/load/action.yml @@ -17,6 +17,8 @@ outputs: runs: using: composite steps: + - uses: envoyproxy/toolshed/gh-actions/github/context@actions-v0.1.18 + name: Github context - name: Download environment data id: download uses: envoyproxy/toolshed/gh-actions/github/artifact/download@actions-v0.1.18 @@ -37,3 +39,9 @@ runs: options: -r filter: | to_entries[] | .key + "=" + (.value | tostring) + - uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.1.18 + name: Print env data + with: + input: ${{ steps.data.outputs.value }} + options: -C + print-result: true diff --git a/gh-actions/github/env/save/action.yml b/gh-actions/github/env/save/action.yml index a8488a7da..744ccfc49 100644 --- a/gh-actions/github/env/save/action.yml +++ b/gh-actions/github/env/save/action.yml @@ -11,6 +11,12 @@ inputs: runs: using: composite steps: + - uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.1.18 + name: Print check proxy data + with: + input: ${{ inputs.env }} + options: -C + print-result: true - name: Save environment data id: save shell: bash