Skip to content

Publish Nightly release #262

Publish Nightly release

Publish Nightly release #262

name: Publish Nightly release
on:
workflow_dispatch:
schedule:
# Run a nightly release at 2 AM UTC
- cron: "0 2 * * *"
jobs:
dispatch-publish-es:
runs-on: ubuntu-latest
steps:
- name: Dispatch to publish-nargo
uses: benc-uk/workflow-dispatch@v1
with:
workflow: publish-nargo.yml
token: ${{ secrets.NOIR_REPO_TOKEN }}
# Omitting a tag results in a nightly
inputs: "{ \"publish\": true }"
- name: Dispatch to publish-es-packages
uses: benc-uk/workflow-dispatch@v1
with:
workflow: publish-es-packages.yml
token: ${{ secrets.NOIR_REPO_TOKEN }}
inputs: "{ \"noir-ref\": \"${{ env.GITHUB_REF }}\", \"npm-tag\": \"nightly\" }"