File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2020 sudo apt-get install -y jq
2121
2222 - name : Download report artifact
23- uses : actions/download-artifact@v4
23+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
2424 with :
2525 name : ${{ inputs.artifact-name }}
2626 path : ./report_artifacts
3333 else
3434 REPORT_PATH=$(find report_artifacts -type f -name 'report.json' | head -n1 || true)
3535 fi
36- echo "REPORT_PATH=$REPORT_PATH" >> $GITHUB_ENV
36+ echo "REPORT_PATH=$REPORT_PATH" >> " $GITHUB_ENV"
3737 if [ -z "$REPORT_PATH" ]; then
3838 echo "No report.json found in downloaded artifacts"
3939 exit 1
9191 echo "| Test | Status |"
9292 echo "| ---- | ------ |"
9393 if jq -e '.tests' "$REPORT_FILE" >/dev/null 2>&1; then
94- jq -r ' .tests[] | "\(.nodeid)\t\(.outcome // \"passed\")"' "$REPORT_FILE" | \
94+ jq -r " .tests[] | \ "\(.nodeid)\t\(.outcome // \\\ "passed\\\")\"" "$REPORT_FILE" | \
9595 while IFS=$'\t' read -r NODEID OUTCOME; do
9696 case "${OUTCOME}" in
9797 passed) ICON="✅ Passed" ;;
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ jobs:
156156 -m "${{ env.MARKERS }}"
157157 - name : " upload logs"
158158 if : always()
159- uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
159+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
160160 with :
161161 name : smoke-tests-logs
162162 path : |
@@ -165,15 +165,15 @@ jobs:
165165 - name : " upload report"
166166 if : always()
167167 id : upload-report
168- uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
168+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
169169 with :
170170 name : smoke-tests-report
171171 path : |
172172 report.html
173173 - name : " upload json report"
174174 if : always()
175175 id : upload-report-json
176- uses : actions/upload-artifact@v4
176+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
177177 with :
178178 name : smoke-tests-report-json
179179 path : |
You can’t perform that action at this time.
0 commit comments