Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83bde59

Browse files
committed
ci(workflows): support automated patch version tag
1 parent 4adc5f1 commit 83bde59

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/auto-all-publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
build:
1010
runs-on: windows-latest
1111
outputs:
12-
publishVersion: ${{ steps.parseTag.outputs.publishVersion }}
1312
branchVersion: ${{ steps.parseTag.outputs.branchVersion }}
1413
steps:
1514
- name: Parse Tag
@@ -18,9 +17,7 @@ jobs:
1817
with:
1918
script: |
2019
const tag = `${{ github.ref_name }}`
21-
const publishVersion = tag.slice(3)
2220
const branchVersion = tag.slice(1)
23-
core.setOutput('publishVersion', publishVersion)
2421
core.setOutput('branchVersion', branchVersion)
2522
2623
- name: CheckOut Code
@@ -53,10 +50,10 @@ jobs:
5350
run: pnpm i --no-frozen-lockfile
5451

5552
- name: Run Build Components
56-
run: pnpm build:ui -t ${{ steps.parseTag.outputs.publishVersion }}
53+
run: pnpm build:ui
5754

5855
- name: Run Build Sass Common
59-
run: pnpm build:ui saas-common -t ${{ steps.parseTag.outputs.publishVersion }} -d saas
56+
run: pnpm build:ui saas-common -d saas
6057

6158
- name: Run Build Theme
6259
run: pnpm build:theme

0 commit comments

Comments
 (0)