Fix the Perl script

This commit is contained in:
Kirill Bobyrev 2021-04-21 18:32:46 +02:00
parent 946cf89038
commit 96a2dd6cca
No known key found for this signature in database
GPG Key ID: 2307C055C8384FA0

View File

@ -13,7 +13,7 @@ jobs:
steps:
- name: Find LLVM commit
run: |
perl -ne 'print "LLVM_REPO=$1\nLLVM_COMMIT=$2\n" if /(\w+)\/llvm-project@([[:xdigit:]]{4,})/' > commit.env <<EOF
perl -ne 'print "LLVM_REPO=$1\nLLVM_COMMIT=$2\n" if /(\w+\/llvm-project)@([[:xdigit:]]{40,})/' > commit.env <<EOF
${{ gthub.event.release.body }}
EOF
- name: Check LLVM commit was founud