Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions actions/github/run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ inputs:
upload-path:
type: string
default:
upload-junit-name:
type: string
default:
upload-junit-path:
type: string
default:
warning-match:
type: string
default: |
Expand Down Expand Up @@ -376,6 +382,12 @@ runs:
with:
name: ${{ inputs.upload-name }}
path: ${{ startsWith(inputs.upload-path, '/') && inputs.upload-path || format('{0}/{1}', runner.temp, inputs.upload-path) }}
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
name: Upload JUnit XML reports
if: ${{ inputs.upload-junit-name && inputs.upload-junit-path && ! (fromJSON(steps.context.outputs.value).run.cancelled || cancelled()) }}
with:
name: ${{ inputs.upload-junit-name }}
path: ${{ startsWith(inputs.upload-junit-path, '/') && inputs.upload-junit-path || format('{0}/{1}', runner.temp, inputs.upload-junit-path) }}
- uses: envoyproxy/toolshed/actions/jq@ab31cf868faba51af4bd9f04671c30d4084d70ee
id: upload-failed
if: ${{ failure() && inputs.upload-name && inputs.upload-path }}
Expand Down
Loading