This is an automated email from the ASF dual-hosted git repository. mibo pushed a commit to branch OLINGO-1636-jdk_upgrade in repository https://gitbox.apache.org/repos/asf/olingo-odata2.git
commit c71e76704bbab930d66ea308a4fd69ac377325e8 Author: Iliyan Velichkov <[email protected]> AuthorDate: Wed Dec 13 09:57:10 2023 +0200 add workflows Signed-off-by: Iliyan Velichkov <[email protected]> --- .github/{ => workflows}/build.yml | 0 .github/{build.yml => workflows/pull-request.yml} | 19 ++++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/build.yml b/.github/workflows/build.yml similarity index 100% copy from .github/build.yml copy to .github/workflows/build.yml diff --git a/.github/build.yml b/.github/workflows/pull-request.yml similarity index 63% rename from .github/build.yml rename to .github/workflows/pull-request.yml index 1c4103e1..d61185c1 100644 --- a/.github/build.yml +++ b/.github/workflows/pull-request.yml @@ -1,12 +1,19 @@ -name: Build +name: Pull Request + on: - push: + pull_request: branches: - main - master +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: - build: - runs-on: ubuntu-latest + build: + runs-on: ${{ matrix.os }}-latest + strategy: + matrix: + os: [ubuntu, windows] steps: - uses: actions/checkout@v3 with: @@ -21,8 +28,6 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'corretto' - java-version: '21' - architecture: x64 + java-version: 21 - name: Maven Build run: mvn clean install -
