Skip to content

Commit

Permalink
gh-actions/github/env: Improve actions (#960)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax authored Nov 6, 2023
1 parent 0831ac2 commit f94c258
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gh-actions/github/env/load/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ outputs:
runs:
using: composite
steps:
- uses: envoyproxy/toolshed/gh-actions/github/[email protected]
name: Github context
- name: Download environment data
id: download
uses: envoyproxy/toolshed/gh-actions/github/artifact/[email protected]
Expand All @@ -37,3 +39,9 @@ runs:
options: -r
filter: |
to_entries[] | .key + "=" + (.value | tostring)
- uses: envoyproxy/toolshed/gh-actions/[email protected]
name: Print env data
with:
input: ${{ steps.data.outputs.value }}
options: -C
print-result: true
6 changes: 6 additions & 0 deletions gh-actions/github/env/save/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ inputs:
runs:
using: composite
steps:
- uses: envoyproxy/toolshed/gh-actions/[email protected]
name: Print check proxy data
with:
input: ${{ inputs.env }}
options: -C
print-result: true
- name: Save environment data
id: save
shell: bash
Expand Down

0 comments on commit f94c258

Please sign in to comment.