From 957b4714a542bad24df2966581d3bd97421ebdfc Mon Sep 17 00:00:00 2001 From: Reider745 <70357814+Reider745@users.noreply.github.com> Date: Wed, 29 Nov 2023 16:18:40 +0300 Subject: [PATCH] Create github-actions-demo.yml --- .github/workflows/github-actions-demo.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/github-actions-demo.yml diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml new file mode 100644 index 00000000..4f485c4b --- /dev/null +++ b/.github/workflows/github-actions-demo.yml @@ -0,0 +1,25 @@ +name: Gradle Build + +on: + push: + branches: + - NukkitMot + pull_request: + branches: + - NukkitMot + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up JDK 17 + uses: actions/setup-java@v1 + with: + java-version: 17 + + - name: Build with Gradle + run: ./gradlew build