Skip to content

new-tag

new-tag #8

name: Update um-react
on:
repository_dispatch:
types: [new-tag]
permissions:
contents: write
jobs:
update-um-react:
name: Update um-react
runs-on: ubuntu-latest
outputs:
commit: ${{ steps.push.outputs.pushed && steps.push.outputs.commit-sha || github.sha }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Update repo
run: |
git submodule update --init
cd um-react
git checkout ${{ github.event.client_payload.tag }}
cd ..
- name: Push
id: push
uses: actions4git/add-commit-push@v1
continue-on-error: true
with:
commit-message: Update um-react to ${{ github.event.client_payload.tag }}
call-build:
uses: ./.github/workflows/build-electron.yml
needs: update-um-react
with:
commit: ${{ needs.update-um-react.outputs.commit }}