From 0ac7d45f57db408f4d0e0ddbe4ebfee4ed6ada52 Mon Sep 17 00:00:00 2001 From: CorrectRoadH Date: Fri, 23 Feb 2024 15:24:04 +0800 Subject: [PATCH] fix(cicd):fix publish npm is not work (#35) --- .github/workflows/publish_npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_npm.yml b/.github/workflows/publish_npm.yml index 91db9f4..212e6f1 100644 --- a/.github/workflows/publish_npm.yml +++ b/.github/workflows/publish_npm.yml @@ -23,7 +23,7 @@ jobs: run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Set version run: | - apt install jq + sudo apt install jq jq '.version="${{ steps.get_version.outputs.VERSION }}"' package.json > package.json.new mv package.json.new package.json - name: Generate SDK