Skip to content

Irev-Dev/action-install-openscad-nightly

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

2 Commits
 
 
 
 
 
 

Repository files navigation

Install OpenSCAD nightly

Action that installs OpenSCAD nighly, and other things (like xvfb) needed to use OpenSCAD in github workflows

Example would be to produce stl artifacts from a .scad script i.e.

name: Create STL and publish release
on:
  push:
    tags:
    - '*'
jobs:
  create-n-publish:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: Irev-Dev/action-install-openscad-nightly@v0.0.1
      - name: create stl
        run: xvfb-run --auto-servernum --server-args "-screen 0 1024x768x24" openscad-nightly -o ./output.stl -P default ./demo.scad
      - uses: ncipollo/release-action@v1
        with:
          artifacts: output.stl
          token: ${{ secrets.GITHUB_TOKEN }}

note xvfb-run is necessary.

About

Installs the OpenSCAD cli for use in workflows

Resources

License

Stars

Watchers

Forks

Packages

No packages published