You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/11/16 07:02:09 UTC

[inlong] 01/02: [INLONG-6555][CI] Update for set-output command is deprecated (#6556)

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

dockerzhang pushed a commit to branch branch-1.4
in repository https://gitbox.apache.org/repos/asf/inlong.git

commit 8d6ae09d712417e057a8a2ea9b5e3ac3fd978b0e
Author: Charles Zhang <do...@apache.org>
AuthorDate: Wed Nov 16 10:12:01 2022 +0800

    [INLONG-6555][CI] Update for set-output command is deprecated (#6556)
---
 .github/workflows/ci_docker.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci_docker.yml b/.github/workflows/ci_docker.yml
index 98af35529..18e253581 100644
--- a/.github/workflows/ci_docker.yml
+++ b/.github/workflows/ci_docker.yml
@@ -94,9 +94,9 @@ jobs:
           && github.repository_owner == 'apache'
         run: |
           if [[ ${{ github.ref_name }} == ${{ github.event.repository.default_branch }} ]]; then
-            echo "::set-output name=match_master::true"
+            echo "name=match_master::true" >> $GITHUB_OUTPUT
           elif [[ ${{ github.ref_name }} =~ ^branch-[0-9]+\.[0-9]+$ ]]; then
-            echo "::set-output name=match_release::true"
+            echo "name=match_release::true" >> $GITHUB_OUTPUT
           fi
 
       # Publish x86 Docker images when the changes are being pushed to the master branch or a release branch like 'branch-1.4'.