Browse Source

Merge pull request #2691 from aviadhahami/master

fix: updating heredoc delimiter to be random and unique
pull/2697/head
Anton Petrov 1 year ago
committed by GitHub
parent
commit
528d10e96f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      .github/workflows/modified_scripts_build.yml

+ 4
- 1
.github/workflows/modified_scripts_build.yml View File

@ -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::"

Loading…
Cancel
Save