You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/kicad-release.yml
+15-14Lines changed: 15 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,12 @@ jobs:
20
20
run: |
21
21
sed -i "s~\[Uncontrolled\]~${GITHUB_REF/#refs\/tags\/}~g" Kicad/*.sch Kicad/*.kicad_pcb
22
22
- 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
24
24
with:
25
-
config: 'Kicad/docs.yml'
25
+
config: 'Kicad/docs.kibot.yaml'
26
26
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'
29
29
- name: Create Release
30
30
id: create_release
31
31
uses: actions/create-release@v1
@@ -36,16 +36,17 @@ jobs:
36
36
release_name: Release ${{ github.ref }}
37
37
draft: false
38
38
prerelease: false
39
-
- name: Build zip file
39
+
- name: Build gerbers zip file
40
40
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
45
51
env:
46
52
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
0 commit comments