Add atopile / KiCAD version of the electronics #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Build atopile project | |
uses: sethfischer/atopile-action@main | |
with: | |
path: 'ecad/' # atopile project directory | |
- name: Upload Combined Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ecad_build | |
path: 'ecad/build' # atopile build directory | |
- name: Attach files to release | |
uses: softprops/action-gh-release@v1 | |
if: ${{ github.event.release && github.event.action == 'published' }} | |
with: | |
files: | | |
ecad/build/* |