From 198a8e071938ebc13876b89248aa9784b40c78dd Mon Sep 17 00:00:00 2001 From: Xi Zhang Date: Fri, 23 Aug 2024 11:34:04 -0400 Subject: [PATCH] wip2 --- .github/workflows/publish.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index cb2636b7..08642775 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -38,10 +38,10 @@ jobs: # There's no support for escaping this for use in a shell command. # GitHub's recommendation is to pass it through the environment. # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable - REF_NAME: integrations/ethers-v6/v6.0.0-alpha.0 + REF_NAME: 'integrations/ethers-v6/v6.0.0-alpha.0' run: | - echo "NPM_PACKAGE=$(echo $REF_NAME | grep -oE '(clients/js|contracts|integrations/(hardhat|wagmi-v2|viem-v2))')" >> $GITHUB_OUTPUT - - name: Publish ${{ github.ref_name }} to NPM + echo "NPM_PACKAGE=$(echo 'integrations/ethers-v6/v6.0.0-alpha.0' | grep -oE '(clients/js|contracts|integrations/(hardhat|wagmi-v2|viem-v2|ethers-v6))')" >> $GITHUB_OUTPUT + - name: Publish integrations/ethers-v6/v6.0.0-alpha.0 to NPM uses: JS-DevTools/npm-publish@v3 with: # Build runs as a prepublish script