Skip to content

flat35hd99/openscad-actions

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

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eval openscad

OpenSCAD environment on github actions

Usage

Set scad_file and output_file with extension you want to build. If needed set options as openscad command line options.

runs-on: ubuntu-latest
steps:
  - name: Setup
    uses: actions/checkout@v2
  - name: Build stl file
    uses: flat35hd99/[email protected]
    with:
      scad_file: test/test.scad
      output_file: test.stl

This workflow create test.stl file at working directory.

You can use built file like:

- name: Upload stl file as artifact
  uses: actions/upload-artifact@v2
  with:
    name: built_stl
    path: test.stl
    options: "-D var=value -hardwarnings"

This action use OpenSCAD CLI.