Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

整理: GitHub workflow step の命名規則を統一 #1139

Merged
merged 14 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,25 @@ jobs:
upload-doc:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: <Setup> Check out the repository
uses: actions/checkout@v4

- name: Setup Python
- name: <Setup> Set up Python
tarepan marked this conversation as resolved.
Show resolved Hide resolved
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip

- name: Install Python dependencies
- name: <Setup> Install Python dependencies
run: |
pip install -r requirements.txt

- name: Make documents
- name: <Build> Make documents
run: |
PYTHONPATH=. python build_util/make_docs.py

- name: Deploy to GitHub Pages
- name: <Deploy> Deploy documents to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/build-engine-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,44 +81,43 @@ jobs:
platforms: linux/amd64

steps:
- uses: actions/checkout@v4
- name: <Setup> Check out the repository
uses: actions/checkout@v4

- name: Setup QEMU
- name: <Setup> Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Setup Docker Buildx
- name: <Setup> Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
- name: <Setup> Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# Download VOICEVOX RESOURCE
- name: Prepare VOICEVOX RESOURCE cache
- name: <Setup> Prepare VOICEVOX RESOURCE cache
uses: actions/cache@v3
id: voicevox-resource-cache
with:
key: voicevox-resource-${{ env.VOICEVOX_RESOURCE_VERSION }}
path: download/resource

- name: Checkout VOICEVOX RESOURCE
- name: <Setup> Check out the VOICEVOX RESOURCE repository
if: steps.voicevox-resource-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v4
with:
repository: VOICEVOX/voicevox_resource
ref: ${{ env.VOICEVOX_RESOURCE_VERSION }}
path: download/resource

# Merge VOICEVOX RESOURCE
- name: Merge VOICEVOX RESOURCE
- name: <Build> Merge VOICEVOX RESOURCE
env:
DOWNLOAD_RESOURCE_PATH: download/resource
run: bash build_util/process_voicevox_resource.bash

- name: Build and Deploy Docker image
- name: <Build/Deploy> Build and Deploy Docker image
uses: docker/build-push-action@v3
env:
IMAGE_TAG:
Expand Down
Loading