Skip to content

Commit

Permalink
Merge pull request pyenv#2691 from aviadhahami/master
Browse files Browse the repository at this point in the history
fix: updating heredoc delimiter to be random and unique
  • Loading branch information
anton-petrov authored Apr 30, 2023
2 parents aa5fd27 + cf9d0dc commit 528d10e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/modified_scripts_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
if (/^plugins\/python-build\/share\/python-build\/(?:([^\/]+)|patches\/([^\/]+)\/.*)$/ and -e $& )
{ print $1.$2; }' \
| sort -u);
echo -e "versions<<!\\n$versions\\n!" >> $GITHUB_ENV
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64);
echo "versions<<$EOF" >> $GITHUB_ENV;
echo "$versions" >> $GITHUB_ENV;
echo "$EOF" >> $GITHUB_ENV;
- id: modified-versions
run: |
echo -n "::set-output name=versions::"
Expand Down

0 comments on commit 528d10e

Please sign in to comment.