mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
feat: release-automation (#1095)
This commit is contained in:
8
.github/workflows/publish-npm.yml
vendored
8
.github/workflows/publish-npm.yml
vendored
@@ -28,10 +28,10 @@ jobs:
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- name: Get version
|
||||
run: echo "TAG_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||
- name: Bootstrap
|
||||
run: yarn bootstrap
|
||||
- name: build
|
||||
run: yarn build
|
||||
env:
|
||||
TAG_VERSION: ${{env.TAG_VERSION}}
|
||||
- name: Publish
|
||||
run: sh ./scripts/publish.sh
|
||||
env:
|
||||
@@ -49,10 +49,10 @@ jobs:
|
||||
registry-url: https://npm.pkg.github.com/
|
||||
- name: Get version
|
||||
run: echo "TAG_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||
- name: Bootstrap
|
||||
run: yarn bootstrap
|
||||
- name: build
|
||||
run: yarn build
|
||||
env:
|
||||
TAG_VERSION: ${{env.TAG_VERSION}}
|
||||
- name: Publish
|
||||
run: sh ./scripts/publish.sh
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user