From b8e4fc5d4898555f88cce589d1d603dd98d0a9bb Mon Sep 17 00:00:00 2001 From: torikizi Date: Tue, 14 May 2024 10:29:36 +0900 Subject: [PATCH] =?UTF-8?q?Actions=20=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E3=82=92=E4=B8=8A=E3=81=92=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/actions/download/action.yml | 4 ++-- .github/workflows/build.yml | 36 ++++++++++++++--------------- CHANGES.md | 8 +++++-- 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/.github/actions/download/action.yml b/.github/actions/download/action.yml index da94df11..9157b8c0 100644 --- a/.github/actions/download/action.yml +++ b/.github/actions/download/action.yml @@ -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 @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 162df898..264c049f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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)) }} @@ -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') }} @@ -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)) }} @@ -92,7 +92,7 @@ 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 }} @@ -100,7 +100,7 @@ jobs: - 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 @@ -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 @@ -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 @@ -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 diff --git a/CHANGES.md b/CHANGES.md index 4d67cbea..1337afa0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,10 @@ ## develop +- [UPDATE] Actions のバージョンを上げる + - `actions/cache` を `v4` にあげる + - `actions/download-artifact` を `v4` にあげる + ## 2023.2.1 - [FIX] docker image 生成を修正する @@ -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 していたのを修正する @@ -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`) - 合成失敗レポートはコマンドライン引数の処理での失敗時には出力しない - レポートの対象は以下のようにする - 入力 (各ファイルごとに)