Just run the git setup once

This commit is contained in:
David Baker 2024-10-01 14:06:03 +01:00
parent 350b84a159
commit 42be67e57a

View file

@ -70,29 +70,26 @@ jobs:
fetch-tags: true
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
- name: Merge Element Desktop
if: inputs.element-desktop
- name: Prepare Git
run: |
git config --global user.email "releases@riot.im"
git config --global user.name "RiotRobot"
- name: Merge Element Desktop
if: inputs.element-desktop
run: |
git -C "element-desktop" merge origin/develop
- name: Merge Element Web
if: inputs.element-web
run: |
git config --global user.email "releases@riot.im"
git config --global user.name "RiotRobot"
git -C "element-web" merge origin/develop
- name: Merge React SDK
if: inputs.matrix-react-sdk
run: |
git config --global user.email "releases@riot.im"
git config --global user.name "RiotRobot"
git -C "matrix-react-sdk" merge origin/develop
- name: Merge JS SDK
if: inputs.matrix-js-sdk
run: |
git config --global user.email "releases@riot.im"
git config --global user.name "RiotRobot"
git -C "matrix-js-sdk" merge origin/develop
- name: Push staging