This commit is contained in:
parent
140bf1aaad
commit
3f9f40304b
@ -12,9 +12,6 @@ jobs:
|
||||
update:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- run: |
|
||||
modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}')
|
||||
|
||||
- name: Setup correct time in build container
|
||||
run: ln -sf /usr/share/zoneinfo/Asia/Tbilisi /etc/localtime
|
||||
|
||||
@ -27,8 +24,9 @@ jobs:
|
||||
path: .
|
||||
fetch-depth: 0
|
||||
|
||||
- run: |
|
||||
modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}' | uniq | xargs -I {} sh -c 'find {} -type f -name "__manifest__.py" | grep -q "__manifest__.py" && echo {}' 2>/dev/null | sed -z 's/\n/,/g; s/,$/\n/')
|
||||
- name: Testing
|
||||
run: |
|
||||
modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}')
|
||||
echo $modules_to_update
|
||||
|
||||
- name: Deploy to main environment
|
||||
|
||||
Loading…
Reference in New Issue
Block a user