From fd6890603229a225c609237c53bdb2100539baf2 Mon Sep 17 00:00:00 2001 From: turgay can <4757177+turgaycan@users.noreply.github.com> Date: Sat, 11 Jan 2025 22:12:35 +0300 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..90752aa --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: Build + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: 17 + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build