From 49e3865bedbb5cb6c73332cbdf68a0c9b07f5fcc Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Mon, 5 Jun 2023 19:58:36 -0400 Subject: [PATCH] Fix deprecated Github Actions output usage --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c754832..914aaa33 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: Get git tag id: git_info if: startsWith(github.ref, 'refs/tags/') - run: echo "::set-output name=tag::${GITHUB_REF##*/}" + run: echo "tag=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT - name: Determine image tags id: determine env: @@ -43,9 +43,9 @@ jobs: tag="${tag:1}" fi - echo "::set-output name=repo::$repo" - echo "::set-output name=tag::$tag" - echo "::set-output name=dock_image::$repo:$tag" + dock_image=$repo:$tag + echo $dock_image + echo "dock_image=$dock_image" >> $GITHUB_OUTPUT - uses: actions/checkout@v3 - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2