From 18549eeef17c36ecc505e73fe735f546ca88d6d3 Mon Sep 17 00:00:00 2001 From: Graza Date: Tue, 22 Aug 2023 12:11:17 +0100 Subject: [PATCH] feat: added uuid output from check step to use in name for artifact upload --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 9fc57e42..68e87320 100644 --- a/action.yml +++ b/action.yml @@ -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 @@ -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