From 5186ab97a0fc087413f6d217b87c77f693c574ac Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Sat, 18 Feb 2023 13:01:11 -0700 Subject: [PATCH] feat(ci): Publish noir_wasm when we cut a release (#871) --- .github/workflows/release.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f92f06cd819..ee67f48605d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,3 +100,18 @@ jobs: ref: master token: ${{ secrets.NOIR_REPO_TOKEN }} inputs: '{ "noir-ref": "${{ needs.release-please.outputs.tag-name }}" }' + + publish-wasm: + name: Publish noir_wasm package + needs: [release-please] + if: ${{ needs.release-please.outputs.tag-name }} + runs-on: ubuntu-latest + steps: + - name: Dispatch to noir_wasm + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: update.yml + repo: noir-lang/noir_wasm + ref: master + token: ${{ secrets.NOIR_REPO_TOKEN }} + inputs: '{ "noir-ref": "${{ needs.release-please.outputs.tag-name }}" }'