You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for this action, really appreciate it. I've been experimenting with it to create two depositions from the same repo, in order to split data and code into two different digital objects.
Here are the things I had to learn the hard way or add to my composite action to get things working. Disclaimer, I'm an action newbie and had very little experience with the Zenodo API.
The action will fail if some of the files are inside a subdirectory. I understand this is not supported by Zenodo, but the error message is not very informative (Something went wrong on PUT ... File not found.) Maybe this could be catched earlier.
I won't know in advance the name of the files to be added to the deposition, so I added a glob action to match glob patterns and convert them to actual file names.
The CITATION.cff file is not always in the top parent directory (since I have two depositions), so I included cffconvert-github-action to convert the CITATION.cff file to a .zenodo.json file.
One thing that I can't easily add in my composite action is the version_id of the deposition created. What I would like is ultimately to create some kind of workflow message or notification saying something like "Deposition created at https://doi.org/...)." This would be useful to review the deposition, especially if publish is false.
Many thanks again,
David
The text was updated successfully, but these errors were encountered:
First off, thanks for this action, really appreciate it. I've been experimenting with it to create two depositions from the same repo, in order to split data and code into two different digital objects.
Here are the things I had to learn the hard way or add to my composite action to get things working. Disclaimer, I'm an action newbie and had very little experience with the Zenodo API.
The action will fail if some of the files are inside a subdirectory. I understand this is not supported by Zenodo, but the error message is not very informative (Something went wrong on PUT ... File not found.) Maybe this could be catched earlier.
I won't know in advance the name of the files to be added to the deposition, so I added a glob action to match glob patterns and convert them to actual file names.
The CITATION.cff file is not always in the top parent directory (since I have two depositions), so I included
cffconvert-github-action
to convert the CITATION.cff file to a .zenodo.json file.One thing that I can't easily add in my composite action is the
version_id
of the deposition created. What I would like is ultimately to create some kind of workflow message or notification saying something like "Deposition created at https://doi.org/...)." This would be useful to review the deposition, especially if publish is false.Many thanks again,
David
The text was updated successfully, but these errors were encountered: