diff --git a/.github/workflows/hello.yaml b/.github/workflows/hello.yaml new file mode 100644 index 0000000..f523d7c --- /dev/null +++ b/.github/workflows/hello.yaml @@ -0,0 +1,22 @@ +name: Build Hello java program +on: + push: + branches: + - chandrams-patch-5 + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Run Hello + run: | + javac Hello.java + java Hello + + diff --git a/Hello.java b/Hello.java index 9bf901d..4565370 100644 --- a/Hello.java +++ b/Hello.java @@ -1,6 +1,7 @@ class Hello { - public static void main (string[] args){ - System.out.println("Hello from chandra"); + public static void main (String[] args){ + System.out.println("Hello from Autotune!"); + System.out.println("hi from bhanvi"); } }