浏览代码

Merge pull request #2691 from aviadhahami/master

fix: updating heredoc delimiter to be random and unique
pull/2697/head
Anton Petrov 1年前
提交者 GitHub
父节点
当前提交
528d10e96f
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      .github/workflows/modified_scripts_build.yml

+ 4
- 1
.github/workflows/modified_scripts_build.yml 查看文件

@ -15,7 +15,10 @@ jobs:
if (/^plugins\/python-build\/share\/python-build\/(?:([^\/]+)|patches\/([^\/]+)\/.*)$/ and -e $& ) if (/^plugins\/python-build\/share\/python-build\/(?:([^\/]+)|patches\/([^\/]+)\/.*)$/ and -e $& )
{ print $1.$2; }' \ { print $1.$2; }' \
| sort -u); | 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 - id: modified-versions
run: | run: |
echo -n "::set-output name=versions::" echo -n "::set-output name=versions::"

正在加载...
取消
保存