From c8082019dc27826f3f6e08d57c6e5d8d0537af3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ord=C3=A1s?= <3125580+davorpa@users.noreply.github.com> Date: Thu, 23 Feb 2023 17:45:38 +0100 Subject: [PATCH] security: apply EbookFoundation/free-programming-books#9287 ::set-output --> GITHUB_OUTPUT env file --- .github/workflows/check-urls.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-urls.yml b/.github/workflows/check-urls.yml index 892a1169995a7..f6eb1dc91a701 100644 --- a/.github/workflows/check-urls.yml +++ b/.github/workflows/check-urls.yml @@ -50,14 +50,17 @@ jobs: run: | echo "${{ steps.changed-files.outputs.all_changed_files }}" \ | jq --raw-output '. | join(" ")' \ - | sed -e 's/^/::set-output name=files::/' + | sed -e 's/^/files=/' \ + >> $GITHUB_OUTPUT echo "${{ steps.changed-files.outputs.all_changed_files }}" \ | jq --raw-output '. | length' \ - | sed -e 's/^/::set-output name=files-len::/' + | sed -e 's/^/files-len=/' \ + >> $GITHUB_OUTPUT - id: set-matrix run: | echo "{\"file\":${{ steps.changed-files.outputs.all_changed_files }}}" \ - | sed -e 's/^/::set-output name=matrix::/' + | sed -e 's/^/matrix=/' \ + >> $GITHUB_OUTPUT check-urls: