Skip to content

Commit

Permalink
Add github action for building and uploading stl file as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
A-G-D committed Sep 9, 2023
1 parent fd54240 commit 927e8b0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 927e8b0

Please sign in to comment.