diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7eb6df168e..f242f10d971 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,8 +58,8 @@ jobs: git commit -m 'chore: Update lockfile' git push - build-linux-binaries: - name: Build linux binaries + build-binaries: + name: Build binaries needs: [release-please] if: ${{ needs.release-please.outputs.tag-name }} runs-on: ubuntu-latest @@ -67,41 +67,11 @@ jobs: - name: Dispatch to build-nargo uses: benc-uk/workflow-dispatch@v1 with: - workflow: publish-linux.yml + workflow: publish.yml repo: noir-lang/build-nargo ref: master token: ${{ secrets.NOIR_REPO_TOKEN }} - inputs: '{ "noir-ref": "${{ needs.release-please.outputs.tag-name }}" }' - - build-windows-binaries: - name: Build windows binaries - needs: [release-please] - if: ${{ needs.release-please.outputs.tag-name }} - runs-on: ubuntu-latest - steps: - - name: Dispatch to build-nargo - uses: benc-uk/workflow-dispatch@v1 - with: - workflow: publish-x86_64-pc-windows-wasm.yml - repo: noir-lang/build-nargo - ref: master - token: ${{ secrets.NOIR_REPO_TOKEN }} - inputs: '{ "noir-ref": "${{ needs.release-please.outputs.tag-name }}" }' - - build-mac-binaries: - name: Build mac binaries - needs: [release-please] - if: ${{ needs.release-please.outputs.tag-name }} - runs-on: ubuntu-latest - steps: - - name: Dispatch to build-nargo - uses: benc-uk/workflow-dispatch@v1 - with: - workflow: publish-apple-darwin-wasm.yml - repo: noir-lang/build-nargo - ref: master - token: ${{ secrets.NOIR_REPO_TOKEN }} - inputs: '{ "noir-ref": "${{ needs.release-please.outputs.tag-name }}" }' + inputs: '{ "noir-ref": "${{ needs.release-please.outputs.tag-name }}", "publish": true }' publish-wasm: name: Publish noir_wasm package