This commit is contained in:
parent
140bf1aaad
commit
3f9f40304b
@ -12,9 +12,6 @@ jobs:
|
|||||||
update:
|
update:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
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
|
- name: Setup correct time in build container
|
||||||
run: ln -sf /usr/share/zoneinfo/Asia/Tbilisi /etc/localtime
|
run: ln -sf /usr/share/zoneinfo/Asia/Tbilisi /etc/localtime
|
||||||
|
|
||||||
@ -27,8 +24,9 @@ jobs:
|
|||||||
path: .
|
path: .
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- run: |
|
- name: Testing
|
||||||
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/')
|
run: |
|
||||||
|
modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}')
|
||||||
echo $modules_to_update
|
echo $modules_to_update
|
||||||
|
|
||||||
- name: Deploy to main environment
|
- name: Deploy to main environment
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user