summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorCrafterPika <48294025+CrafterPika@users.noreply.github.com>2021-12-24 12:39:48 +0000
committerGitHub <noreply@github.com>2021-12-24 12:39:48 +0000
commitbd5d86f9342c8f68fb410b5f49c7dccd0ce700a0 (patch)
tree817fb5a19159ae581910f25a965168cf5ec6fc30 /.github/workflows
parentfc4e2ecfb703ed04d4b07a025ddf99ba891633a5 (diff)
downloadBedrockConnect-bd5d86f9342c8f68fb410b5f49c7dccd0ce700a0.tar.gz
BedrockConnect-bd5d86f9342c8f68fb410b5f49c7dccd0ce700a0.tar.bz2
BedrockConnect-bd5d86f9342c8f68fb410b5f49c7dccd0ce700a0.zip
add Github Actions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml30
1 files changed, 30 insertions, 0 deletions
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