Add release flows for each products
This commit is contained in:
parent
4ee2d1c594
commit
dcee3df68c
48
.github/workflows/release-classic.yml
vendored
Normal file
48
.github/workflows/release-classic.yml
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
name: Release Classic
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'corne-classic-v[0-9]+.[0-9]+*'
|
||||
|
||||
jobs:
|
||||
release-gerber-files:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Export corne-classic gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: corne-classic/gerber
|
||||
board: corne-classic/pcb/corne-classic.kicad_pcb
|
||||
schema: corne-classic/pcb/corne-classic.sch
|
||||
- name: Export top plate gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: plates/pcb/top/gerber
|
||||
board: plates/pcb/top/corne-top-plate.kicad_pcb
|
||||
schema: plates/pcb/top/corne-top-plate.sch
|
||||
- name: Export bottom plate gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: plates/pcb/bottom/gerber
|
||||
board: plates/pcb/bottom/corne-bottom-plate.kicad_pcb
|
||||
schema: plates/pcb/bottom/corne-bottom-plate.sch
|
||||
|
||||
- name: Zip Gerber files
|
||||
run: |
|
||||
zip -r --junk-paths corne-classic-gerber.zip corne-classic/gerber
|
||||
zip -r --junk-paths plates-top-gerber.zip plates/pcb/top/gerber
|
||||
zip -r --junk-paths plates-bottom-gerber.zip plates/pcb/bottom/gerber
|
||||
|
||||
- name: Release to GiHub
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "*.zip"
|
||||
draft: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
48
.github/workflows/release-corne-cherry.yml
vendored
Normal file
48
.github/workflows/release-corne-cherry.yml
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
name: Release Corne Cherry
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'corne-cherry-v[0-9]+.[0-9]+*'
|
||||
|
||||
jobs:
|
||||
release-gerber-files:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Export corne-cherry gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: corne-cherry/gerber
|
||||
board: corne-cherry/pcb/corne-cherry.kicad_pcb
|
||||
schema: corne-cherry/pcb/corne-cherry.sch
|
||||
- name: Export top plate gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: plates/pcb/top/gerber
|
||||
board: plates/pcb/top/corne-top-plate.kicad_pcb
|
||||
schema: plates/pcb/top/corne-top-plate.sch
|
||||
- name: Export bottom plate gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: plates/pcb/bottom/gerber
|
||||
board: plates/pcb/bottom/corne-bottom-plate.kicad_pcb
|
||||
schema: plates/pcb/bottom/corne-bottom-plate.sch
|
||||
|
||||
- name: Zip Gerber files
|
||||
run: |
|
||||
zip -r --junk-paths corne-cherry-gerber.zip corne-cherry/gerber
|
||||
zip -r --junk-paths plates-top-gerber.zip plates/pcb/top/gerber
|
||||
zip -r --junk-paths plates-bottom-gerber.zip plates/pcb/bottom/gerber
|
||||
|
||||
- name: Release to GiHub
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "*.zip"
|
||||
draft: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
@ -1,9 +1,9 @@
|
||||
name: Release
|
||||
name: Release Corne Chocolate
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+*'
|
||||
- 'corne-chocolate-v[0-9]+.[0-9]+*'
|
||||
|
||||
jobs:
|
||||
release-gerber-files:
|
||||
@ -11,13 +11,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Export corne-cherry gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: corne-cherry/gerber
|
||||
board: corne-cherry/pcb/corne-cherry.kicad_pcb
|
||||
schema: corne-cherry/pcb/corne-cherry.sch
|
||||
- name: Export corne-chocolate gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
@ -25,20 +18,6 @@ jobs:
|
||||
dir: corne-chocolate/gerber
|
||||
board: corne-chocolate/pcb/corne-chocolate.kicad_pcb
|
||||
schema: corne-chocolate/pcb/corne-chocolate.sch
|
||||
- name: Export corne-classic gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: corne-classic/gerber
|
||||
board: corne-classic/pcb/corne-classic.kicad_pcb
|
||||
schema: corne-classic/pcb/corne-classic.sch
|
||||
- name: Export corne-light gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: corne-light/gerber
|
||||
board: corne-light/pcb/corne-light.kicad_pcb
|
||||
schema: corne-light/pcb/corne-light.sch
|
||||
- name: Export top plate gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
@ -56,10 +35,7 @@ jobs:
|
||||
|
||||
- name: Zip Gerber files
|
||||
run: |
|
||||
zip -r --junk-paths corne-cherry-gerber.zip corne-cherry/gerber
|
||||
zip -r --junk-paths corne-chocolate-gerber.zip corne-chocolate/gerber
|
||||
zip -r --junk-paths corne-light-gerber.zip corne-light/gerber
|
||||
zip -r --junk-paths corne-classic-gerber.zip corne-classic/gerber
|
||||
zip -r --junk-paths plates-top-gerber.zip plates/pcb/top/gerber
|
||||
zip -r --junk-paths plates-bottom-gerber.zip plates/pcb/bottom/gerber
|
||||
|
48
.github/workflows/release-corne-light.yml
vendored
Normal file
48
.github/workflows/release-corne-light.yml
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
name: Release Corne Light
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'corne-light-v[0-9]+.[0-9]+*'
|
||||
|
||||
jobs:
|
||||
release-gerber-files:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Export corne-light gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: corne-light/gerber
|
||||
board: corne-light/pcb/corne-light.kicad_pcb
|
||||
schema: corne-light/pcb/corne-light.sch
|
||||
- name: Export top plate gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: plates/pcb/top/gerber
|
||||
board: plates/pcb/top/corne-top-plate.kicad_pcb
|
||||
schema: plates/pcb/top/corne-top-plate.sch
|
||||
- name: Export bottom plate gerber
|
||||
uses: nerdyscout/kicad-exports@v2.0
|
||||
with:
|
||||
config: .kiplot.yml
|
||||
dir: plates/pcb/bottom/gerber
|
||||
board: plates/pcb/bottom/corne-bottom-plate.kicad_pcb
|
||||
schema: plates/pcb/bottom/corne-bottom-plate.sch
|
||||
|
||||
- name: Zip Gerber files
|
||||
run: |
|
||||
zip -r --junk-paths corne-light-gerber.zip corne-light/gerber
|
||||
zip -r --junk-paths plates-top-gerber.zip plates/pcb/top/gerber
|
||||
zip -r --junk-paths plates-bottom-gerber.zip plates/pcb/bottom/gerber
|
||||
|
||||
- name: Release to GiHub
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "*.zip"
|
||||
draft: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user