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/15 15:16:10 UTC
[inlong] 01/01: [INLONG-6555][CI] Update for set-output command is deprecated
This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch fix-6555
in repository https://gitbox.apache.org/repos/asf/inlong.git
commit a17152fc8cb70136d2a2a858421828318126d9bb
Author: dockerzhang <do...@apache.org>
AuthorDate: Tue Nov 15 23:15:56 2022 +0800
[INLONG-6555][CI] Update for set-output command is deprecated
---
.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'.