Skip to content
box

GitHub Action

Install Zoo CLI

v0.2.21 Latest version

Install Zoo CLI

box

Install Zoo CLI

Install Zoo CLI on a Linux or Windows host for use in Github workflows

Installation

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

              

- name: Install Zoo CLI

uses: KittyCAD/[email protected]

Learn more about this action in KittyCAD/action-install-cli

Choose a version

Install Zoo CLI

Use the Zoo CLI in your Github workflows.

Example usage:

name: Install Zoo cli and convert demo
on:
  pull_request:
jobs:
  convert-with-powershell:
    runs-on: windows-latest
    steps:
      - uses: actions/checkout@v3
      - uses: KittyCAD/[email protected]
      - name: convert
        run: zoo file convert --output-format=stl test-file.obj ./
        shell: powershell
        env: 
          ZOO_TOKEN: ${{ secrets.ZOO_TOKEN }}

Make sure you generate your ZOO_TOKEN and add it to your repo secrets

Be sure to look at our other Github Actions.