Skip to content

Commit

Permalink
Update makecheck.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisamiga authored Sep 1, 2023
1 parent ac9c53e commit c1ed372
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/makecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ on:
branches: [main]
workflow_dispatch:

jobs:
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 78
run:
needs: check
name: 📝 Make Build Check
runs-on: ubuntu-latest # linux required if you want to use docker
# Check if latest commit changed a .c file
if: ${{contains(github.event.head_commit.modified, '.c') || contains(github.event.head_commit.modified, '.h')}}
container:
image: walkero/docker4amigavbcc:latest-m68k
volumes:
Expand Down

0 comments on commit c1ed372

Please sign in to comment.