Skip to content

updated workflow checkout version #14

updated workflow checkout version

updated workflow checkout version #14

name: wiringpi C/C++ CI
on:
push:
paths:
- '**'
- .github/workflows/wiringpi-c-cpp.yml
- '!**/debian/*'
- '!**/wiringpi.spec.in'
- '!**/obs/*'
- '!**/pins/*'
- '!**/examples/*'
- '!**/doc/*'
- '!**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout_main
uses: actions/checkout@v4
with:
path: main
- name: build_wiringpi
run: |
cd main; ./default.configure; make
make clean; /bin/rm -rf .git autom4te.cache
make -C debian;make wiringpi.spec
- uses: actions/upload-artifact@v4
with:
name: wiringpi
path: ${{ github.workspace }}