Skip to content

v2.0.0-alpha.99

v2.0.0-alpha.99 #4

name: Build envelopes
on:
release:
types: [ published ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Dispatch
uses: actions/github-script@v6
with:
github-token: ${{ secrets.LEON_REPOSITORY_DISPATCH }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'toitlang',
repo: 'envelopes',
workflow_id: 'build.yml',
ref: 'main',
inputs: {
'toit-version': '${{ github.event.release.tag_name }}',
'upload-release': 'true',
},
});