This is an automated email from the ASF dual-hosted git repository. eskabetxe pushed a commit to branch BAHIR-288 in repository https://gitbox.apache.org/repos/asf/bahir-flink.git
commit 4fe0ed7bc904b714894f63eca4bfb5370a4ee709 Author: Joao Boto <[email protected]> AuthorDate: Sun Nov 21 21:11:12 2021 +0100 [BAHIR-288] Add github actions --- .github/workflows/maven-ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml new file mode 100644 index 0000000..12195c4 --- /dev/null +++ b/.github/workflows/maven-ci.yml @@ -0,0 +1,31 @@ +name: Java CI with Maven + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + java: ['8', '11'] + flink-version: ['1.12.2'] + scala-version: ['2.11', '2.12'] + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '${{ matrix.java }}' + distribution: 'adopt' + cache: maven + - name: Change scala version + run: ./dev/change-scala-version.sh ${{ matrix.scala-version }} + shell: bash + - name: Build with Maven + run: mvn -q clean verify -Dscala-${{ matrix.scala-version }} -Dflink.version=${{ matrix.flink-version }}
