You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/11/17 08:13:50 UTC

[skywalking-infra-e2e] 01/01: Add log dir to GitHub Action output

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch bugfix/logdir
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git

commit 67c308bd3d4b4689da95a507557298e4c03e9a94
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Wed Nov 17 16:13:36 2021 +0800

    Add log dir to GitHub Action output
---
 action.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/action.yaml b/action.yaml
index 20f91e9..b8f8107 100644
--- a/action.yaml
+++ b/action.yaml
@@ -24,7 +24,10 @@ inputs:
   log-dir:
     description: The container logs directory
     required: false
-
+outputs:
+  log-dir:
+    description: The directory of the container logs
+    value: ${{ steps.e2e-dir-generator.outputs.log }}
 runs:
   using: "composite"
   steps:
@@ -75,4 +78,4 @@ runs:
         e2e run \
           -c "${{ inputs.e2e-file }}" \
           -w "${{ steps.e2e-dir-generator.outputs.work }}" \
-          -l "${{ steps.e2e-dir-generator.outputs.log-case }}"
\ No newline at end of file
+          -l "${{ steps.e2e-dir-generator.outputs.log-case }}"