Skip to content

Commit

Permalink
Merge pull request #1243 from balena-os/ryan/artifact-name
Browse files Browse the repository at this point in the history
add secureboot identifier into report name
  • Loading branch information
flowzone-app[bot] authored Oct 10, 2024
2 parents 438b232 + 7ca3cb2 commit 7b5573a
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,22 @@ runs:
echo "#### Skipped Tests" >> $GITHUB_STEP_SUMMARY
jq -r '.[0].tests | to_entries[] | select(.value == "skipped") | .key' ${REPORTS}/final-result.json >> $GITHUB_STEP_SUMMARY
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
- name: Generate artifact name
shell: bash
id: report-name
run: |
if [ "$QEMU_SECUREBOOT" -eq 1 ]; then
SB="-sb"
else
SB=""
fi
echo "reportName=reports-${{ env.WORKER_TYPE }}-${{ env.DEVICE_TYPE }}-${{ env.TEST_SUITE }}${SB}" >>"${GITHUB_OUTPUT}"
- uses: actions/upload-artifact@84480863f228bb9747b473957fcc9e309aa96097 # v4
if: always()
with:
name: reports-${{ env.WORKER_TYPE }}-${{ env.DEVICE_TYPE }}-${{ env.TEST_SUITE }}
name: ${{ steps.report-name.outputs.reportName }}
path: ${{ env.REPORTS }}

- name: Teardown
Expand Down

0 comments on commit 7b5573a

Please sign in to comment.