From 88bf7a8cb4d572569c9a57afe95f2c6089faa81d Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sat, 24 Aug 2024 01:15:31 +0300 Subject: [PATCH] fix: resolve GitHub workflow warnings --- .github/workflows/build.yml | 4 ++-- .github/workflows/guix-build.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f84e14cb4b..c7fc357ae5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,8 +28,8 @@ jobs: run: | BRANCH_NAME=$(echo "${GITHUB_REF##*/}" | tr '[:upper:]' '[:lower:]') REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]') - echo "::set-output name=image-tag::${BRANCH_NAME}" - echo "::set-output name=repo-name::${REPO_NAME}" + echo "image-tag=${BRANCH_NAME}" >> $GITHUB_OUTPUT + echo "repo-name=${REPO_NAME}" >> $GITHUB_OUTPUT - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/.github/workflows/guix-build.yml b/.github/workflows/guix-build.yml index 8d1dd36219..1bd3d2a2eb 100644 --- a/.github/workflows/guix-build.yml +++ b/.github/workflows/guix-build.yml @@ -32,8 +32,8 @@ jobs: echo "host_group_id=$(id -g)" >> $GITHUB_OUTPUT BRANCH_NAME=$(echo "${GITHUB_REF##*/}" | tr '[:upper:]' '[:lower:]') REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]') - echo "::set-output name=image-tag::${BRANCH_NAME}" - echo "::set-output name=repo-name::${REPO_NAME}" + echo "image-tag=${BRANCH_NAME}" >> $GITHUB_OUTPUT + echo "repo-name=${REPO_NAME}" >> $GITHUB_OUTPUT - name: Login to GitHub Container Registry uses: docker/login-action@v3