-
Notifications
You must be signed in to change notification settings - Fork 233
Upload of artifacts fails when working-directory is set for check-r-package #614
Description
Describe the bug
We are using the check-r-package action in a workflow to check a package in a sub-directory of the repository with the help of the working-directory input. A failed check will not generate artifacts but instead leads to the warning "No files were found with the provided path: check. No artifacts will be uploaded." The same behaviour is seen both when the input check-dir is set and when it is not specified.
To Reproduce
Run log:
https://github.com/Olink-Proteomics/OlinkRPackage/actions/runs/2972694134
Expected behavior
If the working-directory input is set it should be propagated to the artifact step.
Additional context
I suspect that adding working-directory here:
actions/check-r-package/action.yaml
Line 38 in cc43801
| cat("##[set-output name=check-dir-path;]", (${{ inputs.check-dir }}), "\n", sep = "") |