Skip to content

Builds and publishes any Rhino and/or Grasshopper plugin(s)

License

Notifications You must be signed in to change notification settings

crashcloud/yak-publish

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yak-publish

This builds and publishes any Rhino and/or Grasshopper plugins (defined by a yak specification yml) to the McNeel Package server OR test server.

Usage

see action.yml

Test build and publish to test server

steps:
- uses: crashcloud/yak-publish@main
  with:
  	package-name: 'My Yak Package'
  	token: ${{ secrets.YAK_TOKEN }}
  	build-path: 'src/**/bin/**/**/'
  	publish: 'test'
  	platform: win

Cross-platform build and publish to production server

strategy:
  matrix:
    os: [ 'windows', 'mac-os' ]
runs-on: ${{ matrix.os }}
name: Yak Build & Publish
steps:
  - id: yak
    uses: crashcloud/yak-publish@main
    with:
      package-name: 'My Yak Package'
      token: ${{ secrets.YAK_TOKEN }}
      build-path: 'src/project/bin/**/x64/'
      publish: 'production'
      platform: ${{ matrix.os }}      

Arguments

Argument Name Expected Value Comments
package-name The name of the package Enclose in quotes if spaces exist
token ${{ secrets.YAK_TOKEN }} Use yak.exe --ci locally to get this token. Add to GitHub secrets.
build-path globs accepted
publish '', 'test', 'production' '' publishes nothing, 'test' published to the the McNeel Test Server. 'production' published to the real yak package server
platform windows/win or mac/mac-os Linux not supported

Recommendations

Building yak packages on the platform you intend to distribute them for leads to less potential problems.

License

This action is all covered by the MIT License

About

Builds and publishes any Rhino and/or Grasshopper plugin(s)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages