mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-12-04 20:21:13 +00:00
Update publish_npm.yaml
use the latest tag. Signed-off-by: zhanghengxin <812718649@qq.com>
This commit is contained in:
parent
9f0aecb6ee
commit
ce1cc1fc41
4
.github/workflows/publish_npm.yaml
vendored
4
.github/workflows/publish_npm.yaml
vendored
@ -20,10 +20,10 @@ jobs:
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- name: Get version
|
||||
id: get_version
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
|
||||
run: echo ::set-output name=VERSION::$( git describe --abbrev=0 )
|
||||
- name: Get commit id
|
||||
id: get_commit_id
|
||||
run: echo ::set-output name=COMMIT_ID::$(git rev-parse --short "$GITHUB_SHA")
|
||||
run: echo ::set-output name=COMMIT_ID::${{ github.sha }}
|
||||
- name: Set version
|
||||
run: |
|
||||
sudo apt-get install jq
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user