Skip to content

Merge pull request #10 from Supermanuu/na/drc-check #33

Merge pull request #10 from Supermanuu/na/drc-check

Merge pull request #10 from Supermanuu/na/drc-check #33

Workflow file for this run

name: release
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call: # Needed in order to be called from other pipeline
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bump version without pushing tag
id: tag
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: true # Avoids git tag creation in this run
- name: Generate user guide and adsd it to the release
run: docker compose up doc && mv _doc release
- name: Set Git version
run: docker compose up version
env:
GIT_VERSION_STRING: ${{ steps.tag.outputs.new_tag }}
- name: Generate gerbers, schema, images...
run: docker compose run --rm kibot
- name: Inspect project files
run: ls -l . release Gerbers
- name: Upload manufacturing files
uses: actions/upload-artifact@v4.3.3
with:
name: manufacturing
if-no-files-found: error
path: "Gerbers"
- name: Upload release
uses: actions/upload-artifact@v4.3.3
with:
name: release
if-no-files-found: error
path: "release/*"
- name: Upload 3D
uses: actions/upload-artifact@v4.3.3
with:
name: 3d.step
if-no-files-found: error
path: 3d.step