Skip to content

Commit e570953

Browse files
committed
Merge branch 'release/v0.2.0'
2 parents 190cae2 + 3f7f70d commit e570953

18 files changed

+18595
-97292
lines changed

.github/workflows/kicad-release.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
run: |
2121
sed -i "s~\[Uncontrolled\]~${GITHUB_REF/#refs\/tags\/}~g" Kicad/*.sch Kicad/*.kicad_pcb
2222
- name: Build project # This would actually build your project, using zip for an example artifact
23-
uses: nerdyscout/kicad-exports@v2.2
23+
uses: nerdyscout/kicad-exports@v2.3
2424
with:
25-
config: 'Kicad/docs.yml'
25+
config: 'Kicad/docs.kibot.yaml'
2626
dir: docs
27-
schema: 'Kicad/Neotron-Pico.sch'
28-
board: 'Kicad/Neotron-Pico.kicad_pcb'
27+
schema: 'Kicad/neotron-pico.sch'
28+
board: 'Kicad/neotron-pico.kicad_pcb'
2929
- name: Create Release
3030
id: create_release
3131
uses: actions/create-release@v1
@@ -36,16 +36,17 @@ jobs:
3636
release_name: Release ${{ github.ref }}
3737
draft: false
3838
prerelease: false
39-
- name: Build zip file
39+
- name: Build gerbers zip file
4040
run: |
41-
zip -r --junk-paths neotron-pico-release.zip docs/
42-
- name: Upload Release
43-
id: upload-release-asset
44-
uses: actions/upload-release-asset@v1
41+
zip -r --junk-paths neotron-pico-gerbers.zip docs/gerbers/
42+
- name: Upload files to Release
43+
uses: softprops/action-gh-release@v1
44+
with:
45+
files: |
46+
neotron-pico-gerbers.zip
47+
docs/pdfs/*.pdf
48+
docs/ibom/*.html
49+
docs/*.txt
50+
docs/*.csv
4551
env:
4652
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
with:
48-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing its ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
49-
asset_path: ./neotron-pico-release.zip
50-
asset_name: neotron-pico-release.zip
51-
asset_content_type: application/zip

.github/workflows/kicad.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,18 @@ jobs:
1818
Kicad:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v2
21+
- name: Checkout
22+
uses: actions/checkout@v2
2223
with:
2324
submodules: recursive
24-
- uses: nerdyscout/[email protected]
25+
- name: Run KiBot
26+
uses: nerdyscout/[email protected]
2527
with:
26-
config: 'Kicad/docs.yml'
28+
config: 'Kicad/docs.kibot.yaml'
2729
dir: docs
2830
schema: 'Kicad/neotron-pico.sch'
2931
board: 'Kicad/neotron-pico.kicad_pcb'
30-
- name: upload results
32+
- name: Upload Results
3133
uses: actions/upload-artifact@v2
3234
with:
3335
name: docs

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
*-bak
2+
Kicad/neotron-pico.csv
3+
Kicad/neotron-pico.xml
4+
Kicad/docs
5+
Kicad/bom.ini
26

0 commit comments

Comments
 (0)