Skip to content

fix: πŸ› Zip up produced artifacts #39

fix: πŸ› Zip up produced artifacts

fix: πŸ› Zip up produced artifacts #39

Workflow file for this run

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