Kaynağa Gözat

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

pull/3463/head
Ivan Pozdeev 1 ay önce
ebeveyn
işleme
bfc595b0a0
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: FB6A628DCF06DCD7
1 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  1. +5
    -2
      .github/workflows/modified_scripts_build.yml

+ 5
- 2
.github/workflows/modified_scripts_build.yml Dosyayı Görüntüle

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

Yükleniyor…
İptal
Kaydet