Skip to content

Commit

Permalink
feat: added uuid output from check step to use in name for artifact u…
Browse files Browse the repository at this point in the history
…pload
  • Loading branch information
graza-io committed Aug 22, 2023
1 parent f596c95 commit 18549ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ runs:
STEAMPIPE_DISPLAY_WIDTH: 120
run: |
set +e
echo "uuid=$(echo $RANDOM | md5sum | head -c 20)" >> $GITHUB_OUTPUT
control_output="--output=brief"
control_exports="--export=check-output.json --export=check-output.md --export=check-output.csv"
if [[ "${{ inputs.additional-args }}" == *"--output"* ]]; then
Expand Down Expand Up @@ -132,7 +133,7 @@ runs:
continue-on-error: true
uses: actions/upload-artifact@v3
with:
name: exported-results
name: check-output-${{ steps.run-checks.outputs.uuid }}
path: ./check-output.*

- name: Setup Node
Expand Down

0 comments on commit 18549ee

Please sign in to comment.