This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 4dd455d06b2 component-test - Add log to debug
4dd455d06b2 is described below
commit 4dd455d06b29c8f6720661da450bb1d7342949f3
Author: Nicolas Filotto <[email protected]>
AuthorDate: Wed May 31 10:59:37 2023 +0200
component-test - Add log to debug
---
.github/actions/component-test/action.yaml | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/.github/actions/component-test/action.yaml
b/.github/actions/component-test/action.yaml
index 085a279489d..c3262b0a01c 100644
--- a/.github/actions/component-test/action.yaml
+++ b/.github/actions/component-test/action.yaml
@@ -44,21 +44,15 @@ runs:
with:
name: build.log
path: build.log
- - name: maven test
- shell: bash
- run: ${{ github.action_path }}/component-test.sh ${{
steps.install-mvnd.outputs.mvnd-dir }}/mvnd "${{ inputs.comment-body }}" false
tests.log
- - name: archive logs
- uses: actions/upload-artifact@v3
- if: always()
- with:
- name: tests.log
- path: tests.log
- - name: Dump GitHub context
- env:
- GITHUB_CONTEXT: ${{ toJson(github) }}
- shell: bash
- run: |
- echo "$GITHUB_CONTEXT"
+# - name: maven test
+# shell: bash
+# run: ${{ github.action_path }}/component-test.sh ${{
steps.install-mvnd.outputs.mvnd-dir }}/mvnd "${{ inputs.comment-body }}" false
tests.log
+# - name: archive logs
+# uses: actions/upload-artifact@v3
+# if: always()
+# with:
+# name: tests.log
+# path: tests.log
- name: Success comment
if: success()
uses: actions/github-script@v6
@@ -79,6 +73,9 @@ runs:
with:
github-token: ${{ inputs.github-token }}
script: |
+ console.log(context)
+ console.log(toJson(context))
+ console.log(toJson(github))
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,