From fe538a1fc70297b31a7b82f400d63f9cf11cb235 Mon Sep 17 00:00:00 2001 From: Weiqi Gao Date: Thu, 28 Dec 2023 17:57:36 +0800 Subject: [PATCH] Update and rename build-test.yml to build-electron.yml --- .github/workflows/{build-test.yml => build-electron.yml} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename .github/workflows/{build-test.yml => build-electron.yml} (93%) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-electron.yml similarity index 93% rename from .github/workflows/build-test.yml rename to .github/workflows/build-electron.yml index c571d1b..4c7b84b 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-electron.yml @@ -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