From 2fabb629926de550a4faa092d40ab55e40691a51 Mon Sep 17 00:00:00 2001 From: ZhengLin Li <63448884+ZhengLin-Li@users.noreply.github.com> Date: Wed, 11 Jan 2023 22:46:08 -0800 Subject: [PATCH] fix: fix CI warnings (#560) --- .github/workflows/build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 59b4c8ff..8008b975 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,14 +86,12 @@ jobs: if [ ${old_array[0]} != ${new_array[0]} ] then - echo ::set-output name=push::'true' + echo "push='true'" >> GITHUB_OUTPUT elif [ ${old_array[1]} != ${new_array[1]} ] then - echo ::set-output name=push::'true' - + echo "push='true'" >> GITHUB_OUTPUT else - echo ::set-output name=push::'false' - + echo "push='false'" >> GITHUB_OUTPUT fi - name: Log in to Docker Hub