🔧 工作流验证

This commit is contained in:
hi2hi 2024-12-03 16:04:08 +00:00
parent 1b27d1999f
commit f7d4b490f2

View File

@ -24,7 +24,7 @@ jobs:
- name: Get version from package.json
id: get_version
run: echo "VERSION=$(node -p \"require(\\\"./package.json\\\").version\")" >> $GITHUB_ENV
run: echo "VERSION=$(node -p 'require("./package.json").version')" >> $GITHUB_ENV
- name: Print version
run: echo "Version is $VERSION"