From 8b2f0732076feceeb78ae6eac44c820f069469dd Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Mon, 17 Oct 2022 17:55:19 +0200 Subject: [PATCH] github: Use non-deprecated way of setting output The warnings are currently emitted if the `::set_output` stuff is used. --- .../.github/workflows/update-packages-from-list.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/.github/workflows/update-packages-from-list.yml b/sdk_container/src/third_party/portage-stable/.github/workflows/update-packages-from-list.yml index ba8e29dd12..abf3f6720d 100644 --- a/sdk_container/src/third_party/portage-stable/.github/workflows/update-packages-from-list.yml +++ b/sdk_container/src/third_party/portage-stable/.github/workflows/update-packages-from-list.yml @@ -62,8 +62,8 @@ jobs: updated=1 count=$(git -C portage-stable rev-list --count "${old_head}..${new_head}") fi - echo ::set-output "name=UPDATED::${updated}" - echo ::set-output "name=COUNT::${count}" + echo "UPDATED=${updated}" >>"${GITHUB_OUTPUT}" + echo "COUNT=${count}" >>"${GITHUB_OUTPUT}" - name: Create pull request for main branch uses: peter-evans/create-pull-request@v4 if: steps.update-listed-packages.outputs.UPDATED == 1