This is an automated email from the ASF dual-hosted git repository. nfilotto pushed a commit to branch fix-component-test in repository https://gitbox.apache.org/repos/asf/camel.git
commit b9a9f924d0fe177172740557a4ceb52ab556a5ac Author: Nicolas Filotto <nicolas.filo...@qlik.com> AuthorDate: Sat Mar 29 13:59:22 2025 +0100 (chore) ci: fix component test --- .github/actions/component-test/action.yaml | 4 ++-- .github/actions/component-test/component-test.sh | 3 +++ .github/actions/incremental-build/action.yaml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/actions/component-test/action.yaml b/.github/actions/component-test/action.yaml index 1f31d6b9bf5..14daef06461 100644 --- a/.github/actions/component-test/action.yaml +++ b/.github/actions/component-test/action.yaml @@ -48,7 +48,7 @@ runs: FAST_BUILD: "true" LOG_FILE: build.log - name: archive logs - uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: always() with: name: build-${{ inputs.artifact-upload-suffix }}.log @@ -62,7 +62,7 @@ runs: FAST_BUILD: "false" LOG_FILE: tests.log - name: archive logs - uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: always() with: name: tests-${{ inputs.artifact-upload-suffix }}.log diff --git a/.github/actions/component-test/component-test.sh b/.github/actions/component-test/component-test.sh index 736ebdd4836..3f80f392f09 100755 --- a/.github/actions/component-test/component-test.sh +++ b/.github/actions/component-test/component-test.sh @@ -23,6 +23,9 @@ function main() { local fastBuild=$FAST_BUILD local log=$LOG_FILE + ls -la ~/.m2/repository/org/apache/camel/camel-buildtools + cat ~/.m2/settings.xml | grep https://repository.apache.org/snapshots/ + if [[ ${commentBody} = /component-test* ]] ; then local componentList="${commentBody:16}" echo "The list of components to test is ${componentList}" diff --git a/.github/actions/incremental-build/action.yaml b/.github/actions/incremental-build/action.yaml index fcbd1d84052..69bdcd280c0 100644 --- a/.github/actions/incremental-build/action.yaml +++ b/.github/actions/incremental-build/action.yaml @@ -52,7 +52,7 @@ runs: env: GITHUB_TOKEN: ${{ inputs.github-token }} - name: archive logs - uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: always() with: name: incremental-${{ inputs.mode }}-${{ inputs.artifact-upload-suffix }}.log