TeselaGen / fsml.org

A BioMADE Collaboration Project

Home Page:https://fsml.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create CD GitHub Action for release CLI as single EXE

tgadam opened this issue · comments

Create CD GitHub Action for release CLI as single EXE

@tnrich have you had a chance to look at this?

@tgadam Haven't started on this yet. I can give it a whirl soon

@tgadam here's the PR with the automated release of a CLI executable file - #89

And here's the release it created - https://github.com/TeselaGen/fsml.org/releases/tag/refs%2Fpull%2F89%2Fmerge

Lemme know if that is what you're looking for!

@tgadam here's the updated PR #89
and the release it made w/ 4 different executable files for each operating system:
https://github.com/TeselaGen/fsml.org/releases/tag/refs%2Fpull%2F89%2Fmerge

We're trying to figure out to sign the exe's so they don't throw up security warnings on Mac OS.

@tgadam what sort of security warnings are you seeing? When trying on my mac here's what I get:

tnrich@Thomass-MacBook-Pro lims % /Users/tnrich/Downloads/cli_executableMacM1                           
zsh: permission denied: /Users/tnrich/Downloads/cli_executableMacM1
tnrich@Thomass-MacBook-Pro lims % chmod 775 /Users/tnrich/Downloads/cli_executableMacM1 
tnrich@Thomass-MacBook-Pro lims % /Users/tnrich/Downloads/cli_executableMacM1           
deno run <command>

Commands:
  deno run download <files...>  download a list of files

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

Not enough non-option arguments: got 0, need at least 1

Which seems fine?

@tnrich I’m getting
image

@tgadam is this how people will be running the tool? I was under the impression it would be run primarily through a CLI?

@thomas: indeed @tgadam is getting this message when running the CLI tool.

@tgadam @eabeliuk By double clicking on the executable file or running a command in the terminal like /Users/adam/Downloads/cli_executableMac ?

We identify issues with Deno that will force us to refactor our code. This ticket will have to wait until we implement such refactoring.

Now that we have oclif scripts working, we would implement a github action to generate the installation packages with oclif.