Skip to content

actions version update #15

actions version update

actions version update #15

Workflow file for this run

name: Make SCH and PCB review pdf
env:
PROJECT_NAME: entree
on:
push:
branches: [ main ]
paths:
- '**.kicad_sch'
- '**.kicad_pcb'
- 'Makefile'
- '.github/workflows/review.yml'
pull_request:
branches: [ main ]
paths:
- '**.kicad_sch'
- '**.kicad_pcb'
- 'Makefile'
- '.github/workflows/review.yml'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/tuna-f1sh/kicad-makefile:latest
# mount the workspace path to container workdir /project so accessible by all steps
volumes:
- ${{ github.workspace }}:/project
steps:
- uses: actions/checkout@v4
- name: Prepare
# https://github.com/actions/runner/issues/2033
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Check rules
run: make rules
- name: Run make pdf
run: make pdf
- name: Upload outputs
uses: actions/upload-artifact@v4
with:
name: ${{ env.PROJECT_NAME }}-review
path: |
output/*.pdf
output/sch/*.rpt
output/pcb/*.rpt