convco icon indicating copy to clipboard operation
convco copied to clipboard

Create an official "setup-convco" GitHub workflow

Open whichwit opened this issue 1 year ago • 7 comments

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like Something akin to GitHub's actions/setup-dotnet. While it is not hard to incorporate the necessary steps separately, an official action will be a welcomed.

Describe alternatives you've considered Incorporating the necessary steps to install convco during a workflow run.

whichwit avatar Aug 09 '24 15:08 whichwit

I have no experience in writing a github action and how to make it compatible with different OSes and architectures. Can you also describe how you would like to use the action? For which subcommand of convco: version/check/changelog?

I created a new repo convco-action where this can be developed: https://github.com/convco/convco-action

hdevalke avatar Aug 09 '24 19:08 hdevalke

I have no experience with setting up GitHub actions either, although there should be plenty of examples to reference. I don't mind to give it a shot if I have additional capacity.

I like the simplicity of the tool so hoping it will gain popularity.

whichwit avatar Aug 12 '24 19:08 whichwit

No problem I will try to make something when I find time. Thank you for liking convco.

hdevalke avatar Aug 14 '24 10:08 hdevalke

I tried to create an action.

https://github.com/marketplace/actions/convco

Would you be able to try it out and give feedback?

hdevalke avatar Aug 17 '24 10:08 hdevalke

Run convco/[email protected]
  with:
    command: check
    convco_version: latest
Error: Unable to locate executable file: /home/runner/work/vital-records-java/vital-records-java/entrypoint.sh. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

This is the error I got when trying to incorporate the action.

whichwit avatar Aug 19 '24 13:08 whichwit

I should also clarify that I had hoped to only setup convco with the action request i.e. install via .deb (or something similar), so that convco can be called directly within the command line. Using an action step with associated command can be useful too, but would be harder to incorporate stdin/stdout from other steps.

whichwit avatar Aug 19 '24 13:08 whichwit

I updated the action so it only installs convco. You should be able to use this:

              - name: Convco install
                uses: convco/[email protected]

hdevalke avatar Aug 21 '24 17:08 hdevalke