소스 검색

CI: trigger rebuilds for <v>t, too, if a patch for <v> is changed

pull/3463/head
Ivan Pozdeev 1 개월 전
부모
커밋
bfc595b0a0
No known key found for this signature in database GPG 키 ID: FB6A628DCF06DCD7
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. +5
    -2
      .github/workflows/modified_scripts_build.yml

+ 5
- 2
.github/workflows/modified_scripts_build.yml 파일 보기

@ -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;

불러오는 중...
취소
저장