mirror of
https://github.com/pyenv/pyenv.git
synced 2026-06-05 16:38:14 +09:00
CI: trigger rebuilds for <v>t, too, if a patch for <v> is changed
This commit is contained in:
parent
034e15b810
commit
bfc595b0a0
7
.github/workflows/modified_scripts_build.yml
vendored
7
.github/workflows/modified_scripts_build.yml
vendored
@ -14,8 +14,11 @@ jobs:
|
||||
run: >
|
||||
versions=$(git diff "origin/$GITHUB_BASE_REF" --name-only -z
|
||||
| perl -ne 'BEGIN {$\="\n";$/="\0";} chomp;
|
||||
if (/^plugins\/python-build\/share\/python-build\/(?:([^\/]+)|patches\/([^\/]+)\/.*)$/ and -e $& )
|
||||
{ print $1.$2; }' \
|
||||
if (/^(plugins\/python-build\/share\/python-build\/)(?:([^\/]+)|patches\/([^\/]+)\/.*)$/ and -e $& )
|
||||
{
|
||||
print $2.$3;
|
||||
if ( -e $1.$2.$3.t ) { print $2.$3.t; }
|
||||
}' \
|
||||
| sort -u);
|
||||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64);
|
||||
echo "versions<<$EOF" >> $GITHUB_ENV;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user