Skip to content

Commit

Permalink
Merge pull request #935 from blockscout/tom2drum/fix-bens-types-workflow
Browse files Browse the repository at this point in the history
Fix usage of "npm-publisher" workflow
  • Loading branch information
tom2drum authored Jun 24, 2024
2 parents 8f2b0bb + 50dbb69 commit e5f030c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/bens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
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

0 comments on commit e5f030c

Please sign in to comment.