mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-11-07 07:09:46 +00:00
Update publish_npm.yaml
change git hash Signed-off-by: zhanghengxin <812718649@qq.com>
This commit is contained in:
parent
eb76a7bb4c
commit
8acfe1df86
2
.github/workflows/publish_npm.yaml
vendored
2
.github/workflows/publish_npm.yaml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: echo "VERSION=$( git describe --abbrev=0 )" >> $GITHUB_OUTPUT
|
run: echo "VERSION=$( git rev-parse --short "$GITHUB_SHA" )" >> $GITHUB_OUTPUT
|
||||||
- name: Get commit id
|
- name: Get commit id
|
||||||
id: get_commit_id
|
id: get_commit_id
|
||||||
run: echo "COMMIT_ID=${ github.sha }" >> $GITHUB_OUTPUT
|
run: echo "COMMIT_ID=${ github.sha }" >> $GITHUB_OUTPUT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user