TeachMeCLikeIm5 icon indicating copy to clipboard operation
TeachMeCLikeIm5 copied to clipboard

GitHub action fails when multiple files are committed at once

Open funbeedev opened this issue 2 years ago • 0 comments

About Bug or problem The GitHub action to execute changed files fails when more than one file needs to be checked. Because each file has a 'main' function the compilation fails.

Steps to reproduce Commit more than one file to the repo Allow GitHub action for executing modified file to run

Potential fix - handle case when multiple files are committed to allow GitHub action to execute each file. Add loop to check if each changed file is a C file and compile individually.

funbeedev avatar Oct 10 '21 21:10 funbeedev