Skip to content

Commit e339db1

Browse files
authored
Update to v0.2.21 (#20)
* update to v0.2.21 * trigger CI * zoo rebrand * more rebrand
1 parent 93a1fde commit e339db1

File tree

6 files changed

+35
-35
lines changed

6 files changed

+35
-35
lines changed

.github/workflows/install-kittycad-cli-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: ./
15-
id: install-kittycad
15+
id: install-zoo
1616
- name: check-install
1717
run: |
18-
echo "Version from output is: ${{ steps.install-kittycad.outputs.version }}"
19-
kittycad --version
18+
echo "Version from output is: ${{ steps.install-zoo.outputs.version }}"
19+
zoo --version
2020
2121
convert-with-powershell:
2222
runs-on: windows-latest
2323
steps:
2424
- uses: actions/checkout@v3
2525
- uses: ./
26-
id: install-kittycad
26+
id: install-zoo
2727
- name: convert
28-
run: kittycad file convert --output-format=stl test-file.obj ./
28+
run: zoo file convert --output-format=stl test-file.obj ./
2929
shell: powershell
3030
env:
31-
KITTYCAD_TOKEN: ${{ secrets.KITTYCAD_API_TOKEN }}
31+
ZOO_TOKEN: ${{ secrets.KITTYCAD_API_TOKEN }}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 KittyCAD
3+
Copyright (c) 2022 Zoo
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
### Install KittyCAD CLI
1+
### Install Zoo CLI
22

3-
Use the KittyCAD CLI in your Github workflows.
3+
Use the Zoo CLI in your Github workflows.
44

55
Example usage:
66
```yml
7-
name: Install KittyCAD cli and convert demo
7+
name: Install Zoo cli and convert demo
88
on:
99
pull_request:
1010
jobs:
1111
convert-with-powershell:
1212
runs-on: windows-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- uses: KittyCAD/action-install-cli@v0.2.16
15+
- uses: KittyCAD/action-install-cli@v0.2.21
1616
- name: convert
17-
run: kittycad file convert --output-format=stl test-file.obj ./
17+
run: zoo file convert --output-format=stl test-file.obj ./
1818
shell: powershell
1919
env:
20-
KITTYCAD_TOKEN: ${{ secrets.KITTYCAD_TOKEN }}
20+
ZOO_TOKEN: ${{ secrets.ZOO_TOKEN }}
2121
```
2222
23-
Make sure you [generate your `KITTYCAD_TOKEN`](https://kittycad.io/account) and add it to your repo secrets
23+
Make sure you [generate your `ZOO_TOKEN`](https://zoo.dev/account) and add it to your repo secrets
2424

2525
Be sure to look at our [other Github Actions](https://github.com/marketplace?type=actions&query=kittycad+).

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
name: Install KittyCAD CLI
2-
description: 'Install KittyCAD CLI on a Linux or Windows host for use in Github workflows'
1+
name: Install Zoo CLI
2+
description: 'Install Zoo CLI on a Linux or Windows host for use in Github workflows'
33
branding:
44
icon: box
55
color: gray-dark
66

77
outputs:
88
version:
9-
description: 'The KittyCAD CLI version that was installed'
9+
description: 'The Zoo CLI version that was installed'
1010
value: ${{ steps.set-output.outputs.version }}
1111

1212
runs:
1313
using: 'composite'
1414
steps:
1515

1616
- name: install cli Linux
17-
id: install-kittycad-cli
17+
id: install-zoo-cli
1818
if: runner.os == 'Linux'
1919
run: sudo --preserve-env ${{ github.action_path }}/entrypoint.sh
2020
shell: bash
2121

2222
- name: install cli Windows
2323
if: runner.os == 'Windows'
24-
id: install-kittycad-cli-win
24+
id: install-zoo-cli-win
2525
run: $GITHUB_ACTION_PATH/entrypoint-win.sh
2626
shell: bash
2727

2828
- id: set-output
29-
run: echo "::set-output name=version::$(kittycad --version)"
29+
run: echo "::set-output name=version::$(zoo --version)"
3030
shell: bash

entrypoint-win.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Export the sha256sum for verification.
2-
export KITTYCAD_CLI_SHA256="8649d7977dc6b92bda1212e56ee1bfb52f230613fcf4fa227cdf3ebb37cc2368"
2+
export KITTYCAD_CLI_SHA256="ac4b9ad2863eea0c22ef43a958d23c2c55755009d6f41e81cbe1e7c0334ed3a9"
33

4-
mkdir "C:\Program Files\KittyCAD"
4+
mkdir "C:\Program Files\Zoo"
55

66
# Download and check the sha256sum.
7-
curl -fSL "https://dl.kittycad.io/releases/cli/v0.2.16/kittycad-x86_64-pc-windows-gnu" -o "C:\Program Files\KittyCAD\kittycad.exe" \
8-
&& echo "${KITTYCAD_CLI_SHA256} C:\Program Files\KittyCAD\kittycad.exe" | sha256sum -c - \
9-
&& chmod a+x "C:\Program Files\KittyCAD\kittycad.exe"
7+
curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.21/zoo-x86_64-pc-windows-gnu" -o "C:\Program Files\Zoo\zoo.exe" \
8+
&& echo "${KITTYCAD_CLI_SHA256} C:\Program Files\Zoo\zoo.exe" | sha256sum -c - \
9+
&& chmod a+x "C:\Program Files\Zoo\zoo.exe"
1010

11-
echo "kittycad cli installed!"
11+
echo "zoo cli installed!"
1212

1313
# Add path for this shell to test cli
14-
export PATH=$PATH:"/C/Program Files/KittyCAD"
14+
export PATH=$PATH:"/C/Program Files/Zoo"
1515
# Run it!
16-
kittycad -h
16+
zoo -h
1717

1818
# Add to Github path for later shells
19-
echo "C:\Program Files\KittyCAD" >> $GITHUB_PATH
19+
echo "C:\Program Files\Zoo" >> $GITHUB_PATH

entrypoint.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Export the sha256sum for verification.
2-
export KITTYCAD_CLI_SHA256="389bb6475dc487437eb38d842a8acd70df9e97107afe82ed144e633597f7178a"
2+
export KITTYCAD_CLI_SHA256="ae007cff66e210d407145645e13c4f0fc4ebf2071d6dadfb76938bce5da8965e"
33

44

55
# Download and check the sha256sum.
6-
curl -fSL "https://dl.kittycad.io/releases/cli/v0.2.16/kittycad-x86_64-unknown-linux-musl" -o "/usr/local/bin/kittycad" \
7-
&& echo "${KITTYCAD_CLI_SHA256} /usr/local/bin/kittycad" | sha256sum -c - \
8-
&& chmod a+x "/usr/local/bin/kittycad"
6+
curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.21/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
7+
&& echo "${KITTYCAD_CLI_SHA256} /usr/local/bin/zoo" | sha256sum -c - \
8+
&& chmod a+x "/usr/local/bin/zoo"
99

10-
echo "kittycad cli installed!"
10+
echo "zoo cli installed!"
1111

1212
# Run it!
13-
kittycad -h
13+
zoo -h

0 commit comments

Comments
 (0)