Skip to content

Dispatch Nightly Release #250

Dispatch Nightly Release

Dispatch Nightly Release #250

Workflow file for this run

name: Nightly Builds
run-name: Dispatch Nightly Release
on:
schedule:
- cron: '0 2 * * *'
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch release workflow
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: "release.yaml",
ref: "main",
inputs: {
os_version: "nightly",
debian_release: "bookworm",
publish: true,
prerelease: true
}
});