Skip to content
package

GitHub Action

Setup McNeel YAK

1.0.0 Latest version

Setup McNeel YAK

package

Setup McNeel YAK

Quickly set-up McNeel's YAK tool to publish Rhino/Grasshopper packages

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup McNeel YAK

uses: Paramdigma/[email protected]

Learn more about this action in Paramdigma/setup-yak

Choose a version

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.