S&B Volcano vaporizer remote control with Pi Pico W
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

scad.yml 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. name: STLs
  2. # build for each push and pull request
  3. on: [push, pull_request]
  4. jobs:
  5. render:
  6. runs-on: ubuntu-latest
  7. permissions:
  8. contents: write
  9. steps:
  10. - name: Checkout repo
  11. uses: actions/checkout@v4
  12. with:
  13. fetch-depth: 0
  14. - name: Checkout repo submodules
  15. run: git submodule update --init
  16. - name: Install dependencies
  17. run: sudo apt-get install -y openscad zip
  18. - name: Render STLs
  19. run: |
  20. ./case/generate_stls.sh
  21. - name: Upload part files
  22. uses: actions/upload-artifact@v4.0.0
  23. with:
  24. name: volcano-remote-stl
  25. path: case/stl
  26. if-no-files-found: error
  27. - name: Archive release files
  28. if: startsWith(github.ref, 'refs/tags/')
  29. run: |
  30. cd case
  31. zip -r volcano-remote-stl stl
  32. - name: Upload release files
  33. if: startsWith(github.ref, 'refs/tags/')
  34. uses: softprops/action-gh-release@v1
  35. with:
  36. files: case/volcano-remote-stl.zip