Skip to content

actions/github-script@v6 #3

actions/github-script@v6

actions/github-script@v6 #3

Workflow file for this run

name: Release latest
on:
push:
# branches:
# - main
jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'VOICEVOX'
steps:
- name: Trigger workflow_dispatch
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'build.yml',
ref: 'main',
inputs: {
version: '999.999.999',
prerelease: true,
code_signing: false
}
})