From bd5d86f9342c8f68fb410b5f49c7dccd0ce700a0 Mon Sep 17 00:00:00 2001 From: CrafterPika <48294025+CrafterPika@users.noreply.github.com> Date: Fri, 24 Dec 2021 12:39:48 +0000 Subject: add Github Actions --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..56ca9c3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: buildroot + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: maven + - name: Building BedrockConnect + run: | + cd serverlist-server + mvn -B package --file pom.xml + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: build-artifact + path: ./serverlist-server/target/BedrockConnect-1.0-SNAPSHOT.jar -- cgit v1.2.1