mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 18:33:28 +00:00
CI: Exclude deleted scripts from modified check
This commit is contained in:
parent
c89a69a6ed
commit
13f273188d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/modified_scripts_build.yml
vendored
2
.github/workflows/modified_scripts_build.yml
vendored
|
@ -12,7 +12,7 @@ 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\/([^\/]+)\/.*)$/)
|
||||
if (/^plugins\/python-build\/share\/python-build\/(?:([^\/]+)|patches\/([^\/]+)\/.*)$/ and -e $& )
|
||||
{ print $1.$2; }' \
|
||||
| sort -u);
|
||||
echo -e "versions<<!\\n$versions\\n!" >> $GITHUB_ENV
|
||||
|
|
Loading…
Reference in a new issue