-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CD release #184
Fix CD release #184
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @atteggiani!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late review! Just have a couple small questions
I'm just looking at the GitHub context functions and there is this - name: Create Release
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 #v2.0.8
with:
tag_name: ${{ github.ref_name }}
name: ${{needs.get-package-name.outputs.package-name}} ${{ github.ref_name }}
generate_release_notes: true
fail_on_unmatched_files: true
- files: ${{steps.build-and-upload.outputs.paths}}
+ files: ${{ join(steps.build-and-upload.outputs.paths, '\n') }} But I am not completely sure as I have never used |
Join would be a really neat solution! I tried running a couple tests with it as I haven't used it either. I tested having a
But the docs say the input can be string - so maybe something was wrong with my test setup.. |
@CodeGat Do you know much on how to use `join()? |
I haven't had any luck with it being a string, either. I confirmed @jo-basevi s tests, as well. I suspect that the docs are wrong, or mean "JSON array as string", rather than space-separated string. I think the solutions are either doing it as @jo-basevi mentioned above, or doing it in bash via |
2ad0d8e
to
c65d8e1
Compare
@jo-basevi @CodeGat Alright, I removed the commit where I updated that part of the code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @atteggiani, looks good to me
Thanks @jo-basevi, @blimlim and @CodeGat. |
CD.yml
for the correct releaseuibcdf/action-build-and-upload-conda-packages
step, becauseum2nc
can only be installed on platforms wheremo_pack
is also present.