mirror of
https://github.com/CarlGao4/um-react-electron.git
synced 2024-11-24 02:32:16 +00:00
Compare commits
No commits in common. "af7b1f5a0e268fd6d3493f67879372d7c260f6b1" and "0b5759241f9078bc3fe1081fbb5efbe1ec236027" have entirely different histories.
af7b1f5a0e
...
0b5759241f
8
.github/workflows/build-electron.yml
vendored
8
.github/workflows/build-electron.yml
vendored
@ -13,11 +13,6 @@ on:
|
|||||||
- "main"
|
- "main"
|
||||||
paths:
|
paths:
|
||||||
- "um-react"
|
- "um-react"
|
||||||
workflow_call:
|
|
||||||
inputs:
|
|
||||||
commit:
|
|
||||||
type: string
|
|
||||||
default: main
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@ -120,7 +115,7 @@ jobs:
|
|||||||
upload-release:
|
upload-release:
|
||||||
name: Upload Release
|
name: Upload Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ inputs.release || github.event_name == 'push' || github.event_name == 'repository_dispatch' }}
|
if: ${{ inputs.release || github.event_name == 'push' }}
|
||||||
needs: [build-linux-windows, build-macos]
|
needs: [build-linux-windows, build-macos]
|
||||||
steps:
|
steps:
|
||||||
- name: Download release files
|
- name: Download release files
|
||||||
@ -135,6 +130,5 @@ jobs:
|
|||||||
file: ${{ needs.build-linux-windows.outputs.version }}/*
|
file: ${{ needs.build-linux-windows.outputs.version }}/*
|
||||||
tag: ${{ needs.build-linux-windows.outputs.version }}
|
tag: ${{ needs.build-linux-windows.outputs.version }}
|
||||||
body: Release ${{ needs.build-linux-windows.outputs.version }}
|
body: Release ${{ needs.build-linux-windows.outputs.version }}
|
||||||
target_commit: ${{ github.event_name == 'repository_dispatch' && inputs.commit || github.sha }}
|
|
||||||
overwrite: true
|
overwrite: true
|
||||||
file_glob: true
|
file_glob: true
|
||||||
|
9
.github/workflows/update-um-react.yml
vendored
9
.github/workflows/update-um-react.yml
vendored
@ -11,8 +11,6 @@ jobs:
|
|||||||
update-um-react:
|
update-um-react:
|
||||||
name: Update um-react
|
name: Update um-react
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
|
||||||
commit: ${{ steps.push.outputs.pushed && steps.push.outputs.commit-sha || github.sha }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.1.1
|
uses: actions/checkout@v4.1.1
|
||||||
@ -25,14 +23,7 @@ jobs:
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
id: push
|
|
||||||
uses: actions4git/add-commit-push@v1
|
uses: actions4git/add-commit-push@v1
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
commit-message: Update um-react to ${{ github.event.client_payload.tag }}
|
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 }}
|
|
||||||
|
2
um-react
2
um-react
@ -1 +1 @@
|
|||||||
Subproject commit 0f0c21144aba43ce0fae5516aee357cfd33a5534
|
Subproject commit e148d4a7c7711ed6c54d74f701454e58c51564e9
|
Loading…
Reference in New Issue
Block a user