From ac2d393225bb34f47ba121acfb5c102f77dd1440 Mon Sep 17 00:00:00 2001 From: Christoph Pirkl Date: Wed, 17 Jan 2024 13:31:32 +0100 Subject: [PATCH] Fix CI build --- .github/workflows/ci-build.yml | 15 +++++++++++---- .project-keeper.yml | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index c1fa218..d447c0e 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -1,11 +1,16 @@ name: CI Build - on: - - push + push: + branches: + - main + pull_request: jobs: build: runs-on: ubuntu-latest + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true steps: - name: Checkout the repository uses: actions/checkout@v4 @@ -54,11 +59,13 @@ jobs: name: Signed Exasol Tableau Connectors path: target/tableau-exasol-connector-*.taco - - name: Set up JDK 11 + - name: Set up JDKs uses: actions/setup-java@v4 with: distribution: "temurin" - java-version: 11 + java-version: | + 11 + 17 cache: "maven" - name: Project Keeper Verify diff --git a/.project-keeper.yml b/.project-keeper.yml index 3309a2a..c11a9b3 100644 --- a/.project-keeper.yml +++ b/.project-keeper.yml @@ -23,8 +23,8 @@ version: excludes: - regex: "(?s)E-PK-CORE-62: The project's README\\.md does not contain a valid badges block\\. Please add or replace the following badges.*" - "E-PK-CORE-18: Outdated content: '.github/workflows/ci-build.yml'" + - "E-PK-CORE-18: Outdated content: '.github/workflows/release_droid_upload_github_release_assets.yml'" - "E-PK-CORE-17: Missing required file: '.github/workflows/ci-build-next-java.yml'" - "E-PK-CORE-17: Missing required file: '.github/workflows/dependencies_check.yml'" - "E-PK-CORE-17: Missing required file: '.github/workflows/release_droid_prepare_original_checksum.yml'" - "E-PK-CORE-17: Missing required file: '.github/workflows/release_droid_print_quick_checksum.yml'" - - "E-PK-CORE-18: Outdated content: '.github/workflows/release_droid_upload_github_release_assets.yml'"