From 7c4b6953afdc136a1e184ec7725132aa2d2ee02f Mon Sep 17 00:00:00 2001 From: Jared Erickson Date: Wed, 14 Oct 2020 19:33:08 -0700 Subject: [PATCH] Add github action --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ecf4d42 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build + run: ./gradlew build + - name: Upload MBTilesServer.jar + uses: actions/upload-artifact@v2 + with: + name: MBTilesServer.jar + path: build/libs/MBTilesServer-*.jar \ No newline at end of file