|
10 | 10 | name: Create Release
|
11 | 11 | outputs:
|
12 | 12 | release-pr: ${{ steps.release.outputs.pr }}
|
| 13 | + tag-name: ${{ steps.release.outputs.tag_name }} |
13 | 14 | runs-on: ubuntu-latest
|
14 | 15 | steps:
|
15 | 16 | - name: Run release-please
|
|
52 | 53 | git add Cargo.lock
|
53 | 54 | git commit -m 'chore: Update lockfile'
|
54 | 55 | git push
|
| 56 | +
|
| 57 | + build-linux-binaries: |
| 58 | + name: Build linux binaries |
| 59 | + needs: [release-please] |
| 60 | + if: ${{ needs.release-please.outputs.tag-name }} |
| 61 | + runs-on: ubuntu-latest |
| 62 | + steps: |
| 63 | + - name: Dispatch to build-nargo |
| 64 | + uses: benc-uk/workflow-dispatch@v1 |
| 65 | + with: |
| 66 | + workflow: publish-linux.yml |
| 67 | + repo: noir-lang/build-nargo |
| 68 | + ref: master |
| 69 | + token: ${{ secrets.NOIR_REPO_TOKEN }} |
| 70 | + inputs: '{ "noir-ref": "${{ needs.release-please.outputs.tag-name }}" }' |
| 71 | + |
| 72 | + build-windows-binaries: |
| 73 | + name: Build windows binaries |
| 74 | + needs: [release-please] |
| 75 | + if: ${{ needs.release-please.outputs.tag-name }} |
| 76 | + runs-on: ubuntu-latest |
| 77 | + steps: |
| 78 | + - name: Dispatch to build-nargo |
| 79 | + uses: benc-uk/workflow-dispatch@v1 |
| 80 | + with: |
| 81 | + workflow: publish-x86_64-pc-windows-wasm.yml |
| 82 | + repo: noir-lang/build-nargo |
| 83 | + ref: master |
| 84 | + token: ${{ secrets.NOIR_REPO_TOKEN }} |
| 85 | + inputs: '{ "noir-ref": "${{ needs.release-please.outputs.tag-name }}" }' |
| 86 | + |
| 87 | + build-mac-binaries: |
| 88 | + name: Build mac binaries |
| 89 | + needs: [release-please] |
| 90 | + if: ${{ needs.release-please.outputs.tag-name }} |
| 91 | + runs-on: ubuntu-latest |
| 92 | + steps: |
| 93 | + - name: Dispatch to build-nargo |
| 94 | + uses: benc-uk/workflow-dispatch@v1 |
| 95 | + with: |
| 96 | + workflow: publish-apple-darwin-wasm.yml |
| 97 | + repo: noir-lang/build-nargo |
| 98 | + ref: master |
| 99 | + token: ${{ secrets.NOIR_REPO_TOKEN }} |
| 100 | + inputs: '{ "noir-ref": "${{ needs.release-please.outputs.tag-name }}" }' |
0 commit comments