Skip to content

Upload of artifacts fails when working-directory is set for check-r-package #614

@AskPascal

Description

@AskPascal

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:

cat("##[set-output name=check-dir-path;]", (${{ inputs.check-dir }}), "\n", sep = "")
might be working

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions