This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
chore: bump brillig_vm version in release please (#556) #258
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release-please: | |
name: Create Release | |
outputs: | |
release-pr: ${{ steps.release.outputs.pr }} | |
tag-name: ${{ steps.release.outputs.tag_name }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run release-please | |
id: release | |
uses: google-github-actions/release-please-action@v3 | |
with: | |
token: ${{ secrets.ACVM_RELEASE_TOKEN }} | |
command: manifest | |
publish: | |
name: Publish crates | |
needs: [release-please] | |
if: ${{ needs.release-please.outputs.tag-name }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dispatch to publish workflow | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
workflow: publish.yml | |
ref: master | |
inputs: '{ "acvm-ref": "${{ needs.release-please.outputs.tag-name }}" }' | |
dispatch-publish-acvm-js: | |
name: Dispatch to publish-acvm-js workflow | |
needs: [release-please] | |
if: ${{ needs.release-please.outputs.tag-name }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger publish-acvm-js.yml workflow | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
workflow: publish-acvm-js.yml | |
ref: master | |
inputs: '{ "acvm-ref": "${{ needs.release-please.outputs.tag-name }}" }' |