remote old names in CI #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make SCH and PCB review pdf | |
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@v3 | |
- name: Prepare | |
# https://github.com/actions/runner/issues/2033 | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Run make pdf | |
run: make pdf | |
- name: Upload outputs | |
uses: actions/upload-artifact@v3 | |
with: | |
path: output/*.pdf |