Skip to content

Action for converting 3D files in a directory

License

Notifications You must be signed in to change notification settings

KittyCAD/action-convert-directory

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

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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_TOKEN here and add it to your repo's secrets

Example usage:

name: Convert files
on:
    pull_request:
jobs:
  test-convert-directory-action:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: KittyCAD/action-convert-directory@v0.0.2
        with:
          kittycad-token: ${{ secrets.KITTYCAD_TOKEN }}
          input-directory: original-files-path
          output-directory: converted-files-path
          conversion-type: fbx
      - name: Check files converted
        run: ls converted-files-path # prints converted file names

Be sure to look at our other Github Actions.