Skip to content

GitHub Action to setup Yak.exe tool for packaging/publishing Rhino/Grasshopper plugins

License

Notifications You must be signed in to change notification settings

Paramdigma/setup-yak

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup McNeel YAK Github Action

This action download the latest version of McNeel's standalone YAK tool, also known as the Rhino Package Manager.

This tool is intended to help package and publish Rhino and Grasshopper.

The McNeel team can (and does) explain it's purpose better than we ever could here

Inputs

Token

You can provide an auth token to allow YAK to push packages to a specific account. YAK will search for this token on a YAK_TOKEN environment variable. Since the naming of the variable in your context may vary, passing a value here will effectively set the YAK_TOKEN env var from that point onward.

This token is obtained by running yak.exe --ci on your local machine.

This is an optional input, as it is only required if you are pushing

Outputs

Version

The version of YAK that was installed. This is for reference only.

An example of this can be found in the test action

Example usage

Basic usage

uses: paramdigma/[email protected]

With a token

uses: paramdigma/[email protected]
with:
  token: YOUR_TOKEN_HERE

Real-life working example

Our own GH_SizeAnalyzer uses this action to build and deploy to the marketplace on every pushed tag.

GH_SizeAnalyzer Deploy Action

It also takes care of setting the icon in the manifest in an admittedly hacky way.

About

GitHub Action to setup Yak.exe tool for packaging/publishing Rhino/Grasshopper plugins

Topics

Resources

License

Stars

Watchers

Forks