forked from VOICEVOX/voicevox_engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 内容 VOICEVOX ENGINEのバージョン0.20をマージします。 ## その他
- Loading branch information
Showing
382 changed files
with
27,872 additions
and
12,582 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
test/**/__snapshots__/**/*.json linguist-generated=true | ||
|
||
* text=auto | ||
*.png -text | ||
*.wav -text | ||
*.wav -text |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* @VOICEVOX/maintainer | ||
* @VOICEVOX/main-reviewer |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: "Prepare Python" | ||
description: "Python ランタイムと依存パッケージをインストールし、Python バージョンを出力する" | ||
|
||
inputs: | ||
only-export-python-version: | ||
description: "Python バージョンの出力のみをおこなうか否か" | ||
required: false | ||
default: "false" | ||
requirements-suffix: | ||
description: "依存パッケージインストール時に `rquirements` へ付ける接尾語" | ||
required: false | ||
default: "" | ||
python-version: | ||
description: "インストールされる Python ランタイムのバージョン。デフォルト値はこのリポジトリが想定する Python バージョン。" | ||
required: false | ||
default: "3.11.3" | ||
outputs: | ||
python-version: | ||
description: "Python version" | ||
value: ${{ steps.export-python-version.outputs.python-version }} | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: <Setup> Set up Python | ||
if: ${{ inputs.only-export-python-version == 'false' }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ inputs.python-version }} | ||
cache: pip | ||
|
||
- name: <Setup> Install Python dependencies | ||
if: ${{ inputs.only-export-python-version == 'false' }} | ||
run: pip install -r requirements${{ inputs.requirements-suffix }}.txt | ||
shell: bash | ||
|
||
- name: <Deploy> Export Python version | ||
id: export-python-version | ||
run: echo "python-version=${{ inputs.python-version }}" >> $GITHUB_OUTPUT | ||
shell: bash |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# API docs HTML ファイルを生成し、`gh-pages` ブランチへの push によって GitHub Pages 上のドキュメントとして公開 | ||
|
||
name: upload-docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
|
||
env: | ||
PUBLISH_DIR: "./docs/api" | ||
PUBLISH_BRANCH: "gh-pages" | ||
DESTINATION_DIR: "api" | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
upload-doc: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: <Setup> Check out the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: <Setup> Prepare Python Runtime / Python Dependencies | ||
uses: ./.github/actions/prepare_python | ||
|
||
- name: <Build> Make documents | ||
run: PYTHONPATH=. python tools/make_docs.py | ||
|
||
- name: <Deploy> Deploy documents to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ${{ env.PUBLISH_DIR }} | ||
publish_branch: ${{ env.PUBLISH_BRANCH }} | ||
destination_dir: ${{ env.DESTINATION_DIR }} |
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
Oops, something went wrong.