From 5ee56e78fafd3981d3df3d4a9ab0dc81e1e42f17 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Sat, 9 Mar 2024 16:29:42 -0500 Subject: [PATCH] fix quoting --- .github/actions/publish-test-results/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/publish-test-results/action.yml b/.github/actions/publish-test-results/action.yml index 4a977b5c..1ac7086d 100644 --- a/.github/actions/publish-test-results/action.yml +++ b/.github/actions/publish-test-results/action.yml @@ -27,8 +27,9 @@ runs: id: archive shell: bash run: | - timestamp=$(date +'%Y-%m-%dT%H-%M-%S') #no colons allowed for artifacts - archive_name = ${{ inputs.archive-type }}_python-${{ inputs.python-version }}_${{ inputs.os }}_$timestamp + echo "Create unique test archive name" + timestamp=$(date +'%Y-%m-%dT%H-%M-%S') + archive_name="${{ inputs.archive-type }}_python-${{ inputs.python-version }}_${{ inputs.os }}_$timestamp" echo "archive-name=$archive_name" >> $GITHUB_OUTPUT - name: "Upload test results" @@ -40,6 +41,7 @@ runs: - name: "[INFO] Uploaded test artifacts" shell: bash run: | + echo "[INFO] Uploaded test artifacts" title="Uploaded test artifacts" message="Uploaded ${{ inputs.source-file }} to ${{ steps.archive.outputs.archive-name }}" echo "::notice title=${{ env.NOTIFICATION_PREFIX }}: $title::$message"