File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set  -e
3+ 
4+ root_dir=$( cd ../../..;  pwd) 
5+ 
6+ commit=5a81104e650ebd7ac24eb63d4dff67db723a5278 #  10.46 release
7+ 
8+ rm -rf ext/pcre/pcre2lib
9+ git clone --revision=$commit  https://github.com/PCRE2Project/pcre2.git ext/pcre/pcre2lib
10+ 
11+ cd  ext/pcre/pcre2lib
12+ rm -r .git
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set  -e
3+ 
4+ root_dir=$( cd ../../..;  pwd) 
5+ 
6+ cd  $root_dir /$1 
7+ git add .  -N &&  git diff --cached -a --exit-code .  &&  git diff -a --exit-code . 
Original file line number Diff line number Diff line change 1+ name : Verify Bundled Files 
2+ 
3+ on :
4+   push :
5+   pull_request :
6+   schedule :
7+    - cron : " 0 1 * * *" 
8+   workflow_dispatch : ~ 
9+ 
10+ permissions :
11+   contents : read 
12+ 
13+ jobs :
14+   VERIFY_BUNDLED_FILES :
15+     name : Verify Bundled Files 
16+     runs-on : ubuntu-22.04 
17+     steps :
18+       - name : git checkout 
19+         uses : actions/checkout@v5 
20+ 
21+       - uses : dorny/paths-filter@v3 
22+         id : changes 
23+         with :
24+           base : master 
25+           filters : | 
26+             pcre2: 
27+               - 'ext/pcre/pcre2lib/**' 
28+ 
29+        - name : PCRE2 - Download 
30+         if : ${{ !cancelled() && (steps.changes.outputs.pcre2 == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) }} 
31+         run : .github/scripts/download-bundled/pcre2.sh 
32+ 
33+       - name : PCRE2 - Verify files 
34+         if : ${{ !cancelled() && (steps.changes.outputs.pcre2 == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) }} 
35+         run : .github/scripts/download-bundled/verify-directory-unchanged.sh ext/pcre/pcre2lib 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments