diff --git a/.github/workflows/bens.yml b/.github/workflows/bens.yml index b10a287e8..c91f9b845 100644 --- a/.github/workflows/bens.yml +++ b/.github/workflows/bens.yml @@ -119,6 +119,8 @@ jobs: (needs.lint.result == 'success' || needs.lint.result == 'cancelled') timeout-minutes: 60 runs-on: ubuntu-latest + outputs: + semver: ${{ steps.regex.outputs.group2 }} steps: - name: Checkout repository uses: actions/checkout@v4 @@ -165,10 +167,11 @@ jobs: cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:build-cache cache-to: ${{ github.ref == 'refs/heads/main' && format('type=registry,ref={0}/{1}:build-cache,mode=max', env.REGISTRY, env.IMAGE_NAME) || '' }} - - name: Publish types package - uses: './.github/workflows/npm-publisher.yml' - if: steps.regex.outputs.group2 != '' - continue-on-error: true - with: - version: ${{ steps.regex.outputs.group2 }} - project_name: blockscout-ens \ No newline at end of file + publish_types_package: + name: Publish types package + uses: './.github/workflows/npm-publisher.yml' + needs: push + if: needs.push.outputs.semver != '' + with: + version: ${{ needs.push.outputs.semver }} + project_name: blockscout-ens \ No newline at end of file