Skip to content
New issue

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

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

Already on GitHub? # to your account

Actions のバージョンを上げる #157

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions .github/actions/download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ inputs.platform }}.env
path: ${{ inputs.platform }}.env
Expand All @@ -22,7 +22,7 @@ runs:
echo "package_name=$PACKAGE_NAME" >> $GITHUB_OUTPUT
echo "$PACKAGE_NAME/$PACKAGE_NAME" >> package_paths.env
id: env
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ steps.env.outputs.package_name }}
path: ${{ steps.env.outputs.package_name }}
36 changes: 18 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
echo "svt_av1_version=${SVT_AV1_VERSION}" >> "$GITHUB_OUTPUT"
- name: Cache libvpx ${{ steps.versions.outputs.libvpx_version }}
id: cache-libvpx
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: third_party/libvpx
key: ${{ matrix.os }}-third_party-libvpx-${{ hashFiles(format('third_party/libvpx/{0}/libvpx.a', matrix.os)) }}
Expand All @@ -68,7 +68,7 @@ jobs:
run: rm -rf third_party/libvpx
- name: Cache SVT-AV1 ${{ steps.versions.outputs.svt_av1_version }}
id: cache-svt-av1
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: third_party/SVT-AV1
key: ${{ matrix.os }}-third_party-svt-av1-${{ hashFiles('third_party/SVT-AV1/Bin/Release/libSvtAv1Dec.a', 'third_party/SVT-AV1/Bin/Release/libSvtAv1Enc.a') }}
Expand All @@ -78,7 +78,7 @@ jobs:
run: rm -rf third_party/SVT-AV1
- name: Cache release directory
id: cache-release
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: release/${{ matrix.os }}/_deps
key: ${{ matrix.os }}-release-deps-${{ hashFiles(format('release/{0}/Makefile', matrix.os)) }}
Expand All @@ -92,15 +92,15 @@ jobs:
TZ=UTC echo "timestamp=$(TZ=UTC date +%Y-%m-%d-%H:%M:%S)" >> "$GITHUB_OUTPUT"
- name: Cache ~/.ccache directory
id: cache-ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.ccache
key: ${{ matrix.os }}-ccache-dir-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: ${{ matrix.os }}-ccache-dir-
- name: Ccache stat
run: ccache -s
- name: Cache ~/.cache/bazel directory
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "~/.cache/bazel"
key: ${{ matrix.os }}-cache-bazel-dir
Expand All @@ -121,31 +121,31 @@ jobs:
echo "name=hisui-${HISUI_VERSION}_${{ matrix.os }}.tar.gz" >> "$GITHUB_OUTPUT"
id: package_name
- name: Upload hisui binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-hisui-binary
path: release/${{ matrix.os }}/hisui
if-no-files-found: error
- name: Upload hisui binary with hash
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-hisui-binary-${{ steps.vars.outputs.sha_short }}
path: release/${{ matrix.os }}/hisui
if-no-files-found: error
- name: Upload Lyra model_coeffs with hash
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-lyra-model-coeffs
path: third_party/lyra/lyra/lyra/model_coeffs
if-no-files-found: error
- name: Upload tarball
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.package_name.outputs.name }}
path: release/${{ matrix.os }}/${{ steps.package_name.outputs.name }}
if-no-files-found: error
- name: Upload environment
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}.env
path: ${{ matrix.os }}.env
Expand Down Expand Up @@ -174,19 +174,19 @@ jobs:
mkdir -p release/ubuntu-20.04_arm64
mkdir -p release/ubuntu-22.04_x86_64
mkdir -p release/ubuntu-22.04_arm64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04_x86_64-hisui-binary
path: release/ubuntu-20.04_x86_64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04_arm64-hisui-binary
path: release/ubuntu-20.04_arm64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-22.04_x86_64-hisui-binary
path: release/ubuntu-22.04_x86_64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-22.04_arm64-hisui-binary
path: release/ubuntu-22.04_arm64
Expand All @@ -197,19 +197,19 @@ jobs:
chmod 755 release/ubuntu-20.04_arm64/hisui
chmod 755 release/ubuntu-22.04_x86_64/hisui
chmod 755 release/ubuntu-22.04_arm64/hisui
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04_x86_64-lyra-model-coeffs
path: release/ubuntu-20.04_x86_64/lyra/model_coeffs
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04_arm64-lyra-model-coeffs
path: release/ubuntu-20.04_arm64/lyra/model_coeffs
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-22.04_x86_64-lyra-model-coeffs
path: release/ubuntu-22.04_x86_64/lyra/model_coeffs
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-22.04_arm64-lyra-model-coeffs
path: release/ubuntu-22.04_arm64/lyra/model_coeffs
Expand Down
8 changes: 6 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

## develop

- [UPDATE] Actions のバージョンを上げる
- `actions/cache` を `v4` にあげる
- `actions/download-artifact` を `v4` にあげる

## 2023.2.1

- [FIX] docker image 生成を修正する
Expand Down Expand Up @@ -74,7 +78,7 @@
- Safari, Windows Media Player, 映画&テレビ での再生を修正する
- @haruyama
- [CHANGE] レイアウトに `*` のみを指定した場合、全てのレイアウトを指定したものとして扱うよう修正する
- layout: レイアウト指定ファイル, report-_.json, _.webm は sources から常に除外する
- layout: レイアウト指定ファイル, report-_.json,_.webm は sources から常に除外する
- @haruyama
- [FIX] 例外と null 参照を修正する
- 一部のケースで core dump していたのを修正する
Expand Down Expand Up @@ -128,7 +132,7 @@
- レポートは指定したディレクトリに出力する
- 実験的機能として合成成功/失敗時にレポートを出力するオプションを追加する
- `--success-report` : 合成成功時にレポートを出力するオプション (`{utc_datetime}_ {recoding_id}_success.json`)
- `--failure-report ` : 合成失敗時にレポートを出力するオプション (`{utc_datetime}_ {recoding_id}_failure.json`)
- `--failure-report` : 合成失敗時にレポートを出力するオプション (`{utc_datetime}_ {recoding_id}_failure.json`)
- 合成失敗レポートはコマンドライン引数の処理での失敗時には出力しない
- レポートの対象は以下のようにする
- 入力 (各ファイルごとに)
Expand Down
Loading