Skip to content

Commit 2ad9ad9

Browse files
fix: update actions/upload-artifact version in workflows
1 parent f982b64 commit 2ad9ad9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/report-summary.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
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
@@ -33,7 +33,7 @@ jobs:
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
@@ -91,7 +91,7 @@ jobs:
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" ;;

.github/workflows/smoke_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)