From d7a5360f7136088bf2057d5490387ac0fc122308 Mon Sep 17 00:00:00 2001 From: Lucas Bacciotti Date: Wed, 31 May 2023 09:16:02 +0100 Subject: [PATCH] Updating references to the new kie-ci actions folder. (#4475) * [BXMSPROD-2016] Updating references to the new kie-ci actions folder. * [BXMSPROD-2016] Updating references to the new kie-ci actions folder. * Remove duplicated line. Co-authored-by: Andrea Lamparelli * Changing back to droolsjbpm-build-bootstrap * Reverting last commit and allowing snapshots. --------- Co-authored-by: Andrea Lamparelli --- .github/workflows/pr-backporting.yml | 4 ++-- .github/workflows/pull_request.yml | 9 +++++---- .github/workflows/pull_request_no_chain.yml | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-backporting.yml b/.github/workflows/pr-backporting.yml index 9e0e7fbc52..8d6e515545 100644 --- a/.github/workflows/pr-backporting.yml +++ b/.github/workflows/pr-backporting.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Set target branches id: set-targets - uses: kiegroup/droolsjbpm-build-bootstrap/.ci/actions/parse-labels@main + uses: kiegroup/kie-ci/.ci/actions/parse-labels@main with: labels: ${LABELS} @@ -37,7 +37,7 @@ jobs: REVIEWERS: ${{ toJSON(github.event.pull_request.requested_reviewers) }} steps: - name: Backporting - uses: kiegroup/droolsjbpm-build-bootstrap/.ci/actions/backporting@main + uses: kiegroup/kie-ci/.ci/actions/backporting@main with: target-branch: ${{ matrix.target-branch }} additional-reviewers: ${REVIEWERS} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 50585b8575..fc4559d63f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -18,18 +18,19 @@ jobs: steps: - name: Support long paths if: ${{ matrix.os == 'windows-latest' }} - uses: kiegroup/droolsjbpm-build-bootstrap/.ci/actions/long-paths@main + uses: kiegroup/kie-ci/.ci/actions/long-paths@main - name: Java and Maven Setup - uses: kiegroup/droolsjbpm-build-bootstrap/.ci/actions/maven@main + uses: kiegroup/kie-ci/.ci/actions/maven@main with: java-version: ${{ matrix.java-version }} maven-version: ${{ matrix.maven-version }} cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }} - name: Build Chain - uses: kiegroup/droolsjbpm-build-bootstrap/.ci/actions/build-chain@main + uses: kiegroup/kie-ci/.ci/actions/build-chain@main with: + definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/droolsjbpm-build-bootstrap/${BRANCH:main}/.ci/pull-request-config.yaml annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }} github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Surefire Report - uses: kiegroup/droolsjbpm-build-bootstrap/.ci/actions/surefire-report@main + uses: kiegroup/kie-ci/.ci/actions/surefire-report@main if: ${{ always() }} diff --git a/.github/workflows/pull_request_no_chain.yml b/.github/workflows/pull_request_no_chain.yml index 66112e7052..0ff5e9662f 100644 --- a/.github/workflows/pull_request_no_chain.yml +++ b/.github/workflows/pull_request_no_chain.yml @@ -17,10 +17,11 @@ jobs: steps: - uses: actions/checkout@v2 - name: Java and Maven Setup - uses: kiegroup/droolsjbpm-build-bootstrap/.ci/actions/maven@main + uses: kiegroup/kie-ci/.ci/actions/maven@main with: java-version: ${{ matrix.java-version }} maven-version: ${{ matrix.maven-version }} cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }} + allow-snapshots: true - name: Build with Maven run: mvn -B clean install --file pom.xml