From a7cf854a73f61421ee391184fb0709b42b2108e2 Mon Sep 17 00:00:00 2001 From: Arun Sathiya Date: Fri, 12 Jan 2024 02:26:51 -0800 Subject: [PATCH] ci: Use GITHUB_OUTPUT envvar instead of set-output command (#630) --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6b6964..c01a8b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,14 +24,14 @@ jobs: # Set output parameters. if [ "${{github.event_name}}" == "pull_request" ]; then - echo ::set-output name=push::false + echo "push=false" >> $GITHUB_OUTPUT else - echo ::set-output name=push::true - echo ::set-output name=tags::${TAGS} - echo ::set-output name=branch::${GIT_BRANCH} - echo ::set-output name=docker_image::${DOCKER_IMAGE} + echo "push=true" >> $GITHUB_OUTPUT + echo "tags=${TAGS}" >> $GITHUB_OUTPUT + echo "branch=${GIT_BRANCH}" >> $GITHUB_OUTPUT + echo "docker_image=${DOCKER_IMAGE}" >> $GITHUB_OUTPUT fi - echo ::set-output name=platforms::${PLATFORMS} + echo "platforms=${PLATFORMS}" >> $GITHUB_OUTPUT - name: Set up QEMU