From 748efaef2dd3a50d627378f184eb1b95a7a61273 Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Sat, 10 Apr 2021 18:39:54 -0500 Subject: [PATCH] .github/workflows/build.yml: new GitHub Action --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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 00000000000..f9078af0bb8 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build Bisq + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} + lfs: true + + - name: Set up JDK + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + - name: Validate Gradle Wrapper JAR files + uses: gradle/wrapper-validation-action@v1 + + - name: Build with Gradle + run: ./gradlew build