Skip to content

Commit

Permalink
0.13.0のマージ (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba authored Aug 20, 2022
2 parents 948288e + 8431ed3 commit 8057ee4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ on:
types:
- created
workflow_dispatch:
inputs:
version:
description: "バージョン情報(A.BB.C / A.BB.C-preview.D)"
required: true

env:
IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}/voicevox_engine
PYTHON_VERSION: "3.8.10"
VOICEVOX_RESOURCE_VERSION: "0.13.0-preview.3"
VOICEVOX_CORE_VERSION: "0.12.5"
VOICEVOX_RESOURCE_VERSION: "0.13.0"
VOICEVOX_CORE_VERSION: "0.13.0"
VOICEVOX_ENGINE_VERSION:
|- # releaseのときはタグが、それ以外はlatestがバージョン名に
${{ github.event.release.tag_name != '' && github.event.release.tag_name || 'latest' }}
|- # releaseタグ名か、workflow_dispatchでのバージョン名か、latestが入る
${{ github.event.release.tag_name || github.event.inputs.version || 'latest' }}

jobs:
build-docker:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ on:
env:
IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}/voicevox_engine
PYTHON_VERSION: "3.8.10"
VOICEVOX_RESOURCE_VERSION: "0.13.0-preview.3"
VOICEVOX_CORE_VERSION: "0.12.5"
VOICEVOX_RESOURCE_VERSION: "0.13.0"
VOICEVOX_CORE_VERSION: "0.13.0"
VOICEVOX_ENGINE_VERSION:
|- # releaseタグ名か、workflow_dispatchでのバージョン名か、latestが入る
${{ github.event.release.tag_name || github.event.inputs.version || 'latest' }}
Expand Down Expand Up @@ -831,7 +831,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ env.VOICEVOX_ENGINE_VERSION }}
prelease: ${{ github.event.inputs.prerelease }}
prerelease: ${{ github.event.inputs.prerelease }}
file_glob: true
file: ${{ matrix.artifact_name }}.7z.*

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ EOF

# assert VOICEVOX_CORE_VERSION >= 0.11.0 (ONNX)
ARG VOICEVOX_CORE_ASSET_PREFIX=voicevox_core-linux-x64-cpu
ARG VOICEVOX_CORE_VERSION=0.12.5
ARG VOICEVOX_CORE_VERSION=0.13.0
RUN <<EOF
set -eux

Expand Down Expand Up @@ -247,7 +247,7 @@ RUN <<EOF
EOF

# Download Resource
ARG VOICEVOX_RESOURCE_VERSION=0.13.0-preview.3
ARG VOICEVOX_RESOURCE_VERSION=0.13.0
RUN <<EOF
set -eux

Expand Down

0 comments on commit 8057ee4

Please sign in to comment.