Since you didn't prepare anything for configure or make, you should keep only one pair of name and run. The name doesn't matter, and only use this line for run::
gcc code.c -o code; ./code
This action will deploy your code every time there is a push (merge action) into the main branch
It usually takes a while to finish, but should be just a short wait if your code is simple
You can check out the progress under the Actions tab
Task 4: Write C code
Please start to remember what you have done for your C beginning classes. Or learn it anew!
As the Development Manager, your tasks include:
code.c
, write a piece of very simple (yet correct) C code (e.g. Hello World, simple for loop, simple if...then...else, etc.)configure
ormake
, you should keep only one pair ofname
andrun
. The name doesn't matter, and only use this line forrun:
:gcc code.c -o code; ./code
main
branchContinuous Integration in GitHub is a big topic. To know more, try it yourself at https://github.com/skills/hello-github-actions and https://github.com/skills/test-with-actions