Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 812 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 812 Bytes

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.