Skip to content

Commit

Permalink
update to latest install cli version (#4)
Browse files Browse the repository at this point in the history
* update to lastest install cli version

* update env var name of KittyCAD token
  • Loading branch information
Irev-Dev committed Jun 21, 2022
1 parent fe2f3e2 commit 94f695e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Convert all files in a directory

This action will convert all 3D files in a directory to your desired format.
You will need to generate a `KITTYCAD_API_TOKEN` [here](https://kittycad.io/account) and add it to your repo's secrets
You will need to generate a `KITTYCAD_TOKEN` [here](https://kittycad.io/account) and add it to your repo's secrets

Example usage:
```yml
Expand All @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: KittyCAD/ts-actions/convert-dir@v0.2.2
- uses: KittyCAD/action-convert-directory@v0.0.2
with:
kittycad-token: ${{ secrets.KITTYCAD_API_TOKEN }}
kittycad-token: ${{ secrets.KITTYCAD_TOKEN }}
input-directory: original-files-path
output-directory: converted-files-path
conversion-type: fbx
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: KittyCAD/install-cli@v0.0.4
- uses: KittyCAD/action-install-cli@v0.1.1
- name: convert files
id: convert-files
run: |
Expand All @@ -39,4 +39,4 @@ runs:
echo "Done converting files!"
shell: bash
env:
KITTYCAD_API_TOKEN: ${{ inputs.kittycad-token }}
KITTYCAD_TOKEN: ${{ inputs.kittycad-token }}

0 comments on commit 94f695e

Please sign in to comment.