diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f5db58f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,16 @@ +name: Build Action +run-name: Build action running +on: [push] +jobs: + build-stl: + runs-on: ubuntu-latest + steps: + - name: Install openscad + run: apt-get update -y && apt-get install openscad -y --no-install-recommends && which openscad + - name: Export stl file + run: openscad -o sabu_disc.stl -D 'quality="production"' src/sabu_disc.scad + - uses: actions/upload-artifact@v3 + with: + name: Upload output STL file + path: sabu_disc.stl + if-no-files-found: error