diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml new file mode 100644 index 00000000..02ed3937 --- /dev/null +++ b/.github/workflows/continuous-integration-workflow.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: + - deploy-pipeline-test +# schedule: +# - cron: '0 10 * * *' # Once per day at 10am UTC + +jobs: + build: + name: Build + runs-on: ubuntu-latest + strategy: + matrix: + jdk: [8, 11] + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Set up JDK ${{ matrix.jdk }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.jdk }} + - name: Cache Gradle packages + uses: actions/cache@v2 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} + - name: Build with Gradle + run: ./gradlew clean build --no-daemon --stacktrace