mirror of
https://github.com/CarlGao4/um-react-electron.git
synced 2024-11-23 18:32: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"
|
||||
paths:
|
||||
- "um-react"
|
||||
- ".github/workflows/build-electron.yml"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@ -51,7 +52,7 @@ jobs:
|
||||
id: version
|
||||
run: |
|
||||
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 version=$um_ver >> "$GITHUB_OUTPUT"
|
||||
|
||||
@ -99,7 +100,7 @@ jobs:
|
||||
- name: Update version
|
||||
run: |
|
||||
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
|
||||
|
||||
- name: Build
|
Loading…
Reference in New Issue
Block a user