Skip to content

Commit 01c31a9

Browse files
committed
Initial commit
Signed-off-by: Bhavin Gandhi <[email protected]>
0 parents  commit 01c31a9

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

.github/workflows/build.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Build the moon"
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
print-something:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: "Build"
12+
run: |
13+
gcc main.c -o moon
14+
./moon
15+
- name: "echo secrets"
16+
env:
17+
CONF_ENV: ${{ secrets.CONFIDENTIAL }}
18+
run: |
19+
echo "value of CONFIDENTIAL: ${CONF_ENV}"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# moon

main.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include <stdio.h>
2+
3+
int main()
4+
{
5+
printf("Hello from moon!\n");
6+
return 0;
7+
}

0 commit comments

Comments
 (0)