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