Skip to content

Hard-coded path for uploads leads to failure? #26

@larsvilhuber

Description

@larsvilhuber

paths = ['repo']

I have reproduced this locally:

> ls data/
tutorial-survey.csv  tutorial-survey.rds

when running

python dataverse-uploader/dataverse.py $DATAVERSE_TOKEN $DATAVERSE_SERVER $DATAVERSE_DATASET_DOI . -d data/

nothing gets uploaded, because the directory is hard-coded to repo. The value of $GITHUB_REPOSITORY (https://github.com/IQSS/dataverse-uploader/blob/master/action.yml#L55C13-L55C31) gets ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions