From 327a46b5314bca578cf7705e861e4b37efbdb218 Mon Sep 17 00:00:00 2001 From: Gaurav Pasarkar Date: Fri, 9 Feb 2024 14:18:49 +0530 Subject: [PATCH] Add github build action --- .github/workflows/build_and_deploy.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build_and_deploy.yml diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml new file mode 100644 index 0000000..0dd0c08 --- /dev/null +++ b/.github/workflows/build_and_deploy.yml @@ -0,0 +1,17 @@ +name: Build and deploy +on: [push] +jobs: + gradle: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 21 + + - name: Setup Gradle + uses: gradle/gradle-build-action@v3 + + - name: Execute Gradle build + run: ./gradlew build \ No newline at end of file