mirror of
https://github.com/CarlGao4/um-react-electron.git
synced 2024-11-23 19:42:17 +00:00
Update and rename build-test.yml to build-electron.yml
This commit is contained in:
parent
5c26132b82
commit
fe538a1fc7
@ -13,6 +13,7 @@ on:
|
|||||||
- "main"
|
- "main"
|
||||||
paths:
|
paths:
|
||||||
- "um-react"
|
- "um-react"
|
||||||
|
- ".github/workflows/build-electron.yml"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@ -51,7 +52,7 @@ jobs:
|
|||||||
id: version
|
id: version
|
||||||
run: |
|
run: |
|
||||||
um_ver=$(npm info ./um-react version)
|
um_ver=$(npm info ./um-react version)
|
||||||
npm version $um_ver || true
|
npm version $um_ver --allow-same-version --no-commit-hooks --no-git-tag-version
|
||||||
echo $um_ver
|
echo $um_ver
|
||||||
echo version=$um_ver >> "$GITHUB_OUTPUT"
|
echo version=$um_ver >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
@ -99,7 +100,7 @@ jobs:
|
|||||||
- name: Update version
|
- name: Update version
|
||||||
run: |
|
run: |
|
||||||
um_ver=$(npm info ./um-react version)
|
um_ver=$(npm info ./um-react version)
|
||||||
npm version $um_ver || true
|
npm version $um_ver --allow-same-version --no-commit-hooks --no-git-tag-version
|
||||||
echo $um_ver
|
echo $um_ver
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
Loading…
Reference in New Issue
Block a user