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 2022/10/28 12:04:11 UTC

[skywalking-infra-e2e] 01/01: Migrate deprecated GitHub Actions command to recommended ones

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

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

commit 13570d4922bc62aa3dee75ffdcebacf16b844785
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Fri Oct 28 20:04:01 2022 +0800

    Migrate deprecated GitHub Actions command to recommended ones
---
 action.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/action.yaml b/action.yaml
index 20f91e9..37dbc01 100644
--- a/action.yaml
+++ b/action.yaml
@@ -38,7 +38,7 @@ runs:
       shell: bash
       run: |
         WORK_DIR="${{ runner.temp }}/skywalking-infra-e2e"
-        echo "::set-output name=work::$WORK_DIR"
+        echo "name=work::$WORK_DIR" >> $GITHUB_OUTPUT
 
         LOG_DIR=""
         LOG_JOB_DIR=""
@@ -67,12 +67,12 @@ runs:
           LOG_DIR="$WORK_DIR/${{ inputs.log-dir }}"
           LOG_JOB_DIR="$WORK_DIR/${{ inputs.log-dir }}"
         fi
-        echo "::set-output name=log::$LOG_DIR"
-        echo "::set-output name=log-case::$LOG_JOB_DIR"
+        echo "name=log::$LOG_DIR" >> $GITHUB_OUTPUT
+        echo "name=log-case::$LOG_JOB_DIR" >> $GITHUB_OUTPUT
         echo "SW_INFRA_E2E_LOG_DIR=$LOG_DIR" >> $GITHUB_ENV
     - shell: bash
       run: |
         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 }}"