From fc0e05e10c24cd488022f056063c8d796df85d78 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Sat, 11 May 2024 05:22:56 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20actionlint=20v1.7.0=E3=81=AB=E9=81=A9?= =?UTF-8?q?=E5=BF=9C=E3=81=99=E3=82=8B=20(#792)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit actionlint v1.7.0に適応する --- .github/actions/create-venv/action.yml | 3 +++ .github/actions/rust-toolchain-from-file/action.yml | 3 +++ .github/workflows/build_and_deploy.yml | 12 ++++++------ .github/workflows/generate_document.yml | 2 +- .github/workflows/java_lint.yml | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/actions/create-venv/action.yml b/.github/actions/create-venv/action.yml index c8883621e..484ad892f 100644 --- a/.github/actions/create-venv/action.yml +++ b/.github/actions/create-venv/action.yml @@ -1,3 +1,6 @@ +name: Create venv +description: Pythonの仮想環境を作成し、$PATHと$VIRTUAL_ENVを設定する。 + runs: using: composite steps: diff --git a/.github/actions/rust-toolchain-from-file/action.yml b/.github/actions/rust-toolchain-from-file/action.yml index d82c9c159..917faed3c 100644 --- a/.github/actions/rust-toolchain-from-file/action.yml +++ b/.github/actions/rust-toolchain-from-file/action.yml @@ -1,3 +1,6 @@ +name: rustup toolchain install from file +description: rust-toolchainファイルをもとにRustのツールチェーンをインストールする。 + inputs: targets: required: false diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 263e287f9..83d895c77 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -323,7 +323,7 @@ jobs: ESIGNERCKA_TOTP_SECRET: ${{ secrets.ESIGNERCKA_TOTP_SECRET }} - name: Upload artifact to build XCFramework if: contains(matrix.target, 'ios') - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: voicevox_core-${{ matrix.target }} path: artifact/${{ env.ASSET_NAME }} @@ -351,7 +351,7 @@ jobs: target_commitish: ${{ github.sha }} - name: Upload voicevox_core_java_api artifact if: fromJson(needs.config.outputs.deploy) && contains(matrix.target, 'android') - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: voicevox_core_java_api-${{ matrix.artifact_name }} path: java_artifact @@ -367,15 +367,15 @@ jobs: ASSET_NAME: voicevox_core-ios-xcframework-cpu-${{ needs.config.outputs.version }} steps: - uses: actions/checkout@v3 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: voicevox_core-x86_64-apple-ios path: ${{ env.IOS_X86_64_PATH }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: voicevox_core-aarch64-apple-ios-sim path: ${{ env.IOS_AARCH64_SIM_PATH }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: voicevox_core-aarch64-apple-ios path: ${{ env.IOS_AARCH64_PATH }} @@ -446,7 +446,7 @@ jobs: - name: Set up Rust uses: ./.github/actions/rust-toolchain-from-file - name: Set up Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: "17" distribution: "adopt" diff --git a/.github/workflows/generate_document.yml b/.github/workflows/generate_document.yml index e3890d82a..37c39a1dd 100644 --- a/.github/workflows/generate_document.yml +++ b/.github/workflows/generate_document.yml @@ -21,7 +21,7 @@ jobs: with: python-version: "3.8" - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: "11" distribution: "adopt" diff --git a/.github/workflows/java_lint.yml b/.github/workflows/java_lint.yml index c75222912..ad408e3a7 100644 --- a/.github/workflows/java_lint.yml +++ b/.github/workflows/java_lint.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v4 with: java-version: "11" distribution: "adopt"