Skip to content

Commit

Permalink
security: apply EbookFoundation#9287
Browse files Browse the repository at this point in the history
::set-output --> GITHUB_OUTPUT env file
  • Loading branch information
davorpa committed Feb 23, 2023
1 parent f243bad commit c808201
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/check-urls.yml
Expand Up @@ -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:
Expand Down

0 comments on commit c808201

Please sign in to comment.