Since you didn't include anything for configure or make, you should only use this line for run:, and remove irrelevant lines
-gcc code.c -o code; ./code
This action will deploy your code every time there is a push (merge action) into the master branch
It usually takes a while to finish, but should be just a short wait if your code is simple
Please start to remember what you have done for C class. Or learn it anew.
Your tasks:
Continuous Integration in GitHub is a big topic. To know more, try this yourself: https://lab.github.com/githubtraining/github-actions:-continuous-integration