upload-artifact
upload-artifact copied to clipboard
[feat req] path doesn't take variables into account
What happened?
I'm trying to upload a .NET project artifact. The artifact is stored at $GITHUB_WORKSPACE/ProjectName/bin/Release/net9.0-windows/
However, actions/puload-artifact@4 doesn't seem to resolve the variable I used to address this directory:
What did you expect to happen?
I'd expect actions/puload-artifact@4 to resolve variables, glob patterns and relative paths, and to output the resolved absolute paths prior to uploading, so the actual absolute paths used can be evaluated by the user.
How can we reproduce it?
This is the GitHub Actions step I wrote:
- name: Uploading artifacts
uses: actions/upload-artifact@v4
with:
name: Build result
path: $GITHUB_WORKSPACE/ProjectName/bin/Release/net9.0-windows/
overwrite: true
if-no-files-found: error
What version of the action are you using?
@4
What are your runner environments?
linux or windows – didn't specify