-
Notifications
You must be signed in to change notification settings - Fork 15
34 lines (31 loc) · 1007 Bytes
/
outputs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Generate Outputs for Review
permissions:
contents: read
on:
merge_group:
pull_request:
jobs:
build:
name: Generate Outputs for Review
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: gitmarker
run: "for i in *.kicad_pcb; do git rev-parse --short HEAD | xargs -I % sed -i 's/{GITHASH}/%/g' $i; done" # add git marker
- uses: INTI-CMNB/KiBot@v2_k8
with:
# Required - kibot config file
config: config.kibot.yaml
# optional - prefix to output defined in config
dir: output
- name: Prepare release
run: |
mkdir -p zipped/
zip -n zip -9 -o -D zipped/rusty-probe-pcb.zip output/*.csv output/*.html output/*.png output/*.pdf output/*.zip
- name: Upload temporary artifacts for review
uses: actions/upload-artifact@v4
with:
name: rusty-probe-pcb
path: zipped/rusty-probe-pcb.zip