Skip to content

Commit

Permalink
wip: publish contract
Browse files Browse the repository at this point in the history
  • Loading branch information
aefhm committed Aug 20, 2024
1 parent 72ae2a7 commit b307dc2
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: publish

on:
push:
tags:
- clients/js/v[0-9]+.[0-9]+.[0-9]+*
- contracts/v[0-9]+.[0-9]+.[0-9]+*
- integrations/ethers-v6/v[0-9]+.[0-9]+.[0-9]+*
- integrations/hardhat/v[0-9]+.[0-9]+.[0-9]+*
- integrations/viem-v2/v[0-9]+.[0-9]+.[0-9]+*
- integrations/wagmi-v2/v[0-9]+.[0-9]+.[0-9]+*
push

jobs:
publish:
Expand Down Expand Up @@ -42,7 +35,7 @@ jobs:
- name: Extract package from tag
id: extract-tag
run: |
echo "NPM_PACKAGE=$(echo ${{ github.ref_name }} | grep -oE '(clients/js|contracts|integrations/(hardhat|wagmi-v2|viem-v2))')" >> $GITHUB_OUTPUT
echo "NPM_PACKAGE=$(echo 'contracts/v0.2.10' | grep -oE '(clients/js|contracts|integrations/(hardhat|wagmi-v2|viem-v2))')" >> $GITHUB_OUTPUT
- name: Publish ${{ github.ref_name }} to NPM
uses: JS-DevTools/npm-publish@v3
with:
Expand Down

0 comments on commit b307dc2

Please sign in to comment.