|
1 |
| -# This is a basic workflow to help you get started with Actions |
| 1 | +name: release |
2 | 2 |
|
3 |
| -name: CI |
4 |
| - |
5 |
| -# Controls when the workflow will run |
6 | 3 | on:
|
7 |
| - # Triggers the workflow on push or pull request events but only for the "main" branch |
8 | 4 | push:
|
9 | 5 | branches: [ "main" ]
|
10 | 6 | pull_request:
|
11 | 7 | branches: [ "main" ]
|
12 |
| - |
13 |
| - # Allows you to run this workflow manually from the Actions tab |
14 | 8 | workflow_dispatch:
|
15 | 9 |
|
16 |
| -# A workflow run is made up of one or more jobs that can run sequentially or in parallel |
17 | 10 | jobs:
|
18 |
| - # This workflow contains a single job called "build" |
19 | 11 | build:
|
20 |
| - # The type of runner that the job will run on |
21 | 12 | runs-on: ubuntu-latest
|
22 |
| - |
23 |
| - # Steps represent a sequence of tasks that will be executed as part of the job |
24 | 13 | steps:
|
25 |
| - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
26 | 14 | - uses: actions/checkout@v4
|
27 | 15 |
|
28 |
| - # Generate gerber files |
29 |
| - - name: KiBot GitHub action |
30 |
| - uses: INTI-CMNB/KiBot@v1.7.0 |
| 16 | + - name: Generate user guide and adsd it to the release |
| 17 | + run: docker compose up doc && mv _doc release |
31 | 18 |
|
32 |
| - - name: Run another script |
33 |
| - run: ls -rl |
| 19 | + - name: Generate gerbers, schema, images... |
| 20 | + uses: INTI-CMNB/KiBot@v1.7.0 |
34 | 21 |
|
35 | 22 | - name: Upload manufacturing files
|
36 | 23 | uses: actions/upload-artifact@v4.3.3
|
37 | 24 | with:
|
38 | 25 | name: manufacturing
|
39 | 26 | if-no-files-found: error
|
40 |
| - path: "**.zip" |
41 |
| - |
42 |
| - - name: Upload images |
43 |
| - uses: actions/upload-artifact@v4.3.3 |
44 |
| - with: |
45 |
| - name: images |
46 |
| - if-no-files-found: error |
47 |
| - path: "**.png" |
| 27 | + path: "Gerbers" |
48 | 28 |
|
49 |
| - - name: Upload BOM |
| 29 | + - name: Upload release |
50 | 30 | uses: actions/upload-artifact@v4.3.3
|
51 | 31 | with:
|
52 |
| - name: BOM |
| 32 | + name: release |
53 | 33 | if-no-files-found: error
|
54 |
| - path: "Interactive BoM" |
55 |
| - |
56 |
| - - name: Upload pdf schematic |
57 |
| - uses: actions/upload-artifact@v4.3.3 |
58 |
| - with: |
59 |
| - name: schematic |
60 |
| - if-no-files-found: error |
61 |
| - path: "**.pdf" |
62 |
| - |
| 34 | + path: "release/*" |
0 commit comments