From bd471ec11a3f16561317820d99128405d7e67d40 Mon Sep 17 00:00:00 2001 From: Damian <43420467+DAMcraft@users.noreply.github.com> Date: Sat, 28 Oct 2023 21:33:41 +0200 Subject: [PATCH] Create pull_request.yml --- .github/workflows/pull_request.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pull_request.yml diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..e60e76d --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,19 @@ +name: Build Pull Request +on: pull_request + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + java-version: 17 + distribution: adopt + - name: Build + run: ./gradlew build + - name: Upload artifacts + uses: actions/upload-artifact@v2.2.4 + with: + name: build-artifacts + path: build/libs