Publish Nightly release #343
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: 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\" }" |