mirror of
https://github.com/CarlGao4/um-react-electron.git
synced 2024-11-24 01:22:16 +00:00
Compare commits
2 Commits
f0b04ed091
...
0b5759241f
Author | SHA1 | Date | |
---|---|---|---|
0b5759241f | |||
a52f7aef2e |
1
.github/workflows/build-electron.yml
vendored
1
.github/workflows/build-electron.yml
vendored
@ -13,7 +13,6 @@ on:
|
|||||||
- "main"
|
- "main"
|
||||||
paths:
|
paths:
|
||||||
- "um-react"
|
- "um-react"
|
||||||
- ".github/workflows/build-electron.yml"
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
29
.github/workflows/update-um-react.yml
vendored
Normal file
29
.github/workflows/update-um-react.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
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
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
|
- name: Update repo
|
||||||
|
run: |
|
||||||
|
git submodule update --init
|
||||||
|
cd um-react
|
||||||
|
git checkout ${{ github.event.client_payload.tag }}
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
- name: Push
|
||||||
|
uses: actions4git/add-commit-push@v1
|
||||||
|
with:
|
||||||
|
commit-message: Update um-react to ${{ github.event.client_payload.tag }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user