Skip to content

Update makecheck.yml #30

Update makecheck.yml

Update makecheck.yml #30

Workflow file for this run

name: 📝 Make Build Check
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
check:
runs-on: [ubuntu-latest]
steps:
- name: Check if latest commit changed a .c file
if: ${{!contains(github.event.head_commit.modified, '.c') && !contains(github.event.head_commit.modified, '.h')}}
run: |
echo 'C files not changed'
exit 0
run:
needs: check
name: 📝 Make Build Check
runs-on: ubuntu-latest # linux required if you want to use docker
container:
image: walkero/docker4amigavbcc:latest-m68k
volumes:
- '${{ github.workspace }}:/opt/code'
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: 🏃 Running Make
run: make