From baea0e49d6e08899dc85462b37620fc0c7b4bff1 Mon Sep 17 00:00:00 2001 From: wss-git Date: Fri, 4 Aug 2023 15:43:12 +0800 Subject: [PATCH 1/2] test s v3 Signed-off-by: wss-git --- .github/workflows/npm-publish.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index daa3586..faa7662 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -11,12 +11,6 @@ jobs: with: node-version: 18 registry-url: https://registry.npmjs.org/ -# - run: echo ${{secrets.NPM_TOKEN}} | awk '{print length($0)}' -# - name: create .npmrc -# run: echo "//registry.npmjs.org/:_authToken=${{env.NPM_TOKEN}}" > .npmrc -# working-directory: ./src - - name: publish - run: npm publish - working-directory: ./src - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + - run: npm i @xsahxl/s@3.x -g + - run: s3 config add --keyList key1,key2,key3 --valueList value1,value2,value3 -a wss-root -f + - run: s3 config get From 5412a28cce5add5680a669ea10d71e8eabfc929c Mon Sep 17 00:00:00 2001 From: wss-git Date: Fri, 4 Aug 2023 15:45:41 +0800 Subject: [PATCH 2/2] test s v3 Signed-off-by: wss-git --- .github/workflows/npm-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index faa7662..a31467d 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -12,5 +12,5 @@ jobs: node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm i @xsahxl/s@3.x -g - - run: s3 config add --keyList key1,key2,key3 --valueList value1,value2,value3 -a wss-root -f + - run: s3 config add --keyList key1,key2,key3 --infoList value1,value2,value3 -a wss-root -f - run: s3 config get