Skip to content

Commit

Permalink
fix: 不要なコードを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
K-shir0 committed Apr 6, 2023
1 parent 212a731 commit 2960c18
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
config: # 全 jobs で利用する定数の定義. `env` が利用できないコンテキストでも利用できる.
runs-on: ubuntu-latest
outputs:
version: ${{ steps.vars.outputs.version }}
version_or_latest: ${{ steps.vars.outputs.version_or_latest }}
steps:
- name: declare variables
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/release-test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,11 @@ on:
type: string
description: "テストしたいタグ名"
required: true
repo_url:
type: string
description: "リポジトリのURL(省略可能)"
required: false

env:
IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}/voicevox_engine
REPO_URL:
|- # repo_url指定時はrepo_urlを、それ以外はgithubのリポジトリURLを使用
${{ (github.event.inputs || inputs).repo_url || format('{0}/{1}', github.server_url, github.repository) }}
VERSION: |- # version指定時はversionを、それ以外はタグ名を使用
${{ (github.event.inputs || inputs).version }}
TARGET: linux-cpu
jobs:
test:
Expand All @@ -42,13 +34,6 @@ jobs:
- cpu-ubuntu18.04

steps:
- name: Declare variables
id: vars
shell: bash
run: |
echo "release_url=${{ env.REPO_URL }}/releases/download/${{ env.VERSION }}" >> $GITHUB_OUTPUT
echo "package_name=voicevox_engine-${{ env.TARGET }}-${{ env.VERSION }}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2

#
Expand All @@ -59,19 +44,6 @@ jobs:
python-version: "3.8.10"
cache: pip

- name: Download
shell: bash -euxv {0}
run: |
mkdir -p download
curl -L -o "download/list.txt" "${{ steps.vars.outputs.release_url }}/${{ steps.vars.outputs.package_name }}.7z.txt"
cat "download/list.txt" | xargs -I '%' curl -L -o "download/%" "${{ steps.vars.outputs.release_url }}/%"
7z x "download/$(head -n1 download/list.txt)"
mv ${{ env.TARGET }} dist/
- name: chmod +x
shell: bash
run: chmod +x dist/run

- name: Install libsndfile1
run: |
sudo apt-get update
Expand Down

0 comments on commit 2960c18

Please sign in to comment.