mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-09-18 01:25:54 +00:00
Update publish_npm.yaml
Signed-off-by: zhanghengxin <812718649@qq.com>
This commit is contained in:
parent
f646be8457
commit
6f207cc599
4
.github/workflows/publish_npm.yaml
vendored
4
.github/workflows/publish_npm.yaml
vendored
@ -14,12 +14,14 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/
|
||||
|
||||
- run: echo $(git tag --sort=-creatordate | head -n 1)
|
||||
- run: git tag --sort=-creatordate | head -n 1
|
||||
- name: Get version
|
||||
id: get_version
|
||||
run: echo "VERSION=$(git tag --sort=-creatordate | head -n 1)" >> $GITHUB_OUTPUT
|
||||
|
Loading…
x
Reference in New Issue
Block a user