Skip to content

Commit

Permalink
gh-actions/github/run: Prepend upload-path with runner.temp if rela…
Browse files Browse the repository at this point in the history
…tive (#2173)

Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Aug 8, 2024
1 parent 53c6311 commit 6a6b241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-actions/github/run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ runs:
if: ${{ inputs.upload-name && inputs.upload-path && ! (fromJSON(steps.context.outputs.value).run.cancelled || cancelled()) }}
with:
name: ${{ inputs.upload-name }}
path: ${{ inputs.upload-path }}
path: ${{ startsWith(inputs.upload-path, '/') && inputs.upload-path || format('{0}/{1}', runner.temp, inputs.upload-path) }}
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.2.34
id: upload-failed
if: ${{ failure() && inputs.upload-name && inputs.upload-path }}
Expand Down

0 comments on commit 6a6b241

Please sign in to comment.