Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Aug 5, 2023
1 parent 21670fa commit d3806d0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release_latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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@v3
with:
github-token: ${{ secrets.PAT_GITHUB_ACTIONS_WRITE }}
script: |
const { owner, repo } = context.repo
await github.request(`POST /repos/${owner}/${repo}/actions/workflows/build.yml/dispatches`, {
ref: 'main',
inputs: {
version: '999.999.999',
prerelease: true,
code_signing: false
}
})

0 comments on commit d3806d0

Please sign in to comment.