Skip to content

cache-build-resultの役割をドキュメント化する(もしくは改名) #63

Description

@qryxip

内容

このcache-build-resultにコメントを書きます。

- name: Cache build result
id: cache-build-result
uses: actions/cache@v4
with:
path: build/
key: ${{ matrix.artifact_name }}-v${{ env.ONNXRUNTIME_VERSION }}-cache-${{ hashFiles('matrix.json') }}

cache-build-resultは${{ matrix.artifact_name }}-v${{ env.ONNXRUNTIME_VERSION }}-cache-${{ hashFiles('matrix.json') }}をキーとしてビルドディレクトリをキャッシュするもので、それ以上でもそれ以下でもありません。ワークフローファイルのうちmatrix以外の部分を書き換えてもキャッシュはそのまま使われます。

役割としては、lib(voicevox_)onnxruntimeが無事成功した後の整理部分について、試行錯誤をやりやすくするためのものだという理解をしています。ただこれを単に"cache"と呼ぶのは誤解を招くため、新しい名前を考えるかドキュメントを書くことを提案します。

Pros 良くなる点

Cons 悪くなる点

実現方法

VOICEVOXのバージョン

OSの種類/ディストリ/バージョン

  • Windows
  • macOS
  • Linux

その他

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions