Skip to content

Commit

Permalink
Attempt to get github actions creating releases again
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Krall committed Sep 17, 2023
1 parent e424b28 commit 2d60a24
Showing 1 changed file with 24 additions and 14 deletions.
38 changes: 24 additions & 14 deletions .github/workflows/kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@ name: KiBot
on:
workflow_dispatch:
push:
paths:
- "*.kicad_sch"
- "*.kicad_pcb"
- "*.kicad_pro"
- "**/*kibot.yml"
pull_request:
paths:
- "*.kicad_sch"
- "*.kicad_pcb"
- "*.kicad_pro"
- "**/*kibot.yml"

env:
schema: "pipad.kicad_sch"
Expand Down Expand Up @@ -47,7 +37,7 @@ jobs:
# documentation
docs:
runs-on: ubuntu-latest
needs: [ERC]
# needs: [ERC]
container:
image: setsoft/kicad_auto:ki7
steps:
Expand All @@ -68,7 +58,7 @@ jobs:
# fabrications
gerbers:
runs-on: ubuntu-latest
needs: [DRC]
# needs: [DRC]
container:
image: setsoft/kicad_auto:ki7
steps:
Expand All @@ -89,7 +79,7 @@ jobs:
# cad
cad:
runs-on: ubuntu-latest
needs: [DRC]
# needs: [DRC]
container:
image: setsoft/kicad_auto:ki7
steps:
Expand All @@ -110,7 +100,7 @@ jobs:
# images
render:
runs-on: ubuntu-latest
needs: [DRC]
# needs: [DRC]
container:
image: setsoft/kicad_auto:ki7
steps:
Expand All @@ -128,3 +118,23 @@ jobs:
${{env.dir}}/img/**
!${{env.dir}}/**/*.ogv
!${{env.dir}}/**/*.log
release:
needs: [render, gerbers, cad, docs, DRC, ERC]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: download all artifacts
uses: actions/download-artifact@v3.0.2
- name: create release
uses: softprops/action-gh-release@v1
with:
name: Release ${{ github.run_id }} (${{ github.sha }})
tag_name: v${{ github.run_id }}
files: |
pipad_cad
pipad_docs
pipad_gerbers
pipad_img

0 comments on commit 2d60a24

Please sign in to comment.