mirror of
https://github.com/pyenv/pyenv.git
synced 2026-06-06 00:48:13 +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: >
|
run: >
|
||||||
versions=$(git diff "origin/$GITHUB_BASE_REF" --name-only -z
|
versions=$(git diff "origin/$GITHUB_BASE_REF" --name-only -z
|
||||||
| perl -ne 'BEGIN {$\="\n";$/="\0";} chomp;
|
| perl -ne 'BEGIN {$\="\n";$/="\0";} chomp;
|
||||||
if (/^plugins\/python-build\/share\/python-build\/(?:([^\/]+)|patches\/([^\/]+)\/.*)$/ and -e $& )
|
if (/^(plugins\/python-build\/share\/python-build\/)(?:([^\/]+)|patches\/([^\/]+)\/.*)$/ and -e $& )
|
||||||
{ print $1.$2; }' \
|
{
|
||||||
|
print $2.$3;
|
||||||
|
if ( -e $1.$2.$3.t ) { print $2.$3.t; }
|
||||||
|
}' \
|
||||||
| sort -u);
|
| sort -u);
|
||||||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64);
|
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64);
|
||||||
echo "versions<<$EOF" >> $GITHUB_ENV;
|
echo "versions<<$EOF" >> $GITHUB_ENV;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user