From 7d4234ee74dd738fd184bd3fbd654845ed7ac44a Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Thu, 7 Dec 2023 02:50:57 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"actions=E3=82=92=E3=82=A2=E3=83=83?= =?UTF-8?q?=E3=83=97=E3=83=87=E3=83=BC=E3=83=88=E3=81=99=E3=82=8B=20(#748)?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 92c8211b6882fc0e4ecdcb5a1dc7d60024a45e8a. --- .github/workflows/build-docker.yml | 4 ++-- .github/workflows/build.yml | 6 +++--- .github/workflows/coverage-comment.yml | 4 ++-- .github/workflows/labeler.yml | 2 +- .github/workflows/release-test-docker.yml | 4 ++-- .github/workflows/release-test.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- .github/workflows/typos.yml | 2 +- .github/workflows/upload-gh-pages.yml | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 3b810366c..0d90c5bfb 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -81,7 +81,7 @@ jobs: platforms: linux/amd64 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Setup QEMU uses: docker/setup-qemu-action@v2 @@ -106,7 +106,7 @@ jobs: - name: Checkout VOICEVOX RESOURCE if: steps.voicevox-resource-cache.outputs.cache-hit != 'true' - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: repository: VOICEVOX/voicevox_resource ref: ${{ env.VOICEVOX_RESOURCE_VERSION }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f88c238e..ddd592149 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,7 +110,7 @@ jobs: run: | echo "package_name=voicevox_engine-${{ matrix.target }}-${{ needs.config.outputs.version }}" >> $GITHUB_OUTPUT - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 # NOTE: The default 'sed' and 'split' of macOS is BSD 'sed' and 'split'. # There is a difference in specification between BSD 'sed' and 'split' and GNU 'sed' and 'split', @@ -274,7 +274,7 @@ jobs: # Python install path of windows: C:/hostedtoolcache/windows/Python - name: Setup Python id: setup-python - uses: actions/setup-python@v5 + uses: actions/setup-python@v4 with: python-version: ${{ env.PYTHON_VERSION }} architecture: ${{ matrix.architecture }} @@ -394,7 +394,7 @@ jobs: - name: Checkout VOICEVOX RESOURCE if: steps.voicevox-resource-cache.outputs.cache-hit != 'true' - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: repository: VOICEVOX/voicevox_resource ref: ${{ env.VOICEVOX_RESOURCE_VERSION }} diff --git a/.github/workflows/coverage-comment.yml b/.github/workflows/coverage-comment.yml index 59f0f24d3..e8b84315d 100644 --- a/.github/workflows/coverage-comment.yml +++ b/.github/workflows/coverage-comment.yml @@ -18,7 +18,7 @@ jobs: if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' steps: - name: Download coverage report - uses: actions/github-script@v7 + uses: actions/github-script@v5.0.0 with: script: | const artifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -42,7 +42,7 @@ jobs: run: unzip report.zip - name: Comment coverage result to Pull Requests - uses: actions/github-script@v7 + uses: actions/github-script@v5.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 06d547dcf..27c17d669 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -10,7 +10,7 @@ jobs: triage: runs-on: ubuntu-latest steps: - - uses: github/issue-labeler@v3 + - uses: github/issue-labeler@v2.0 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/labeler.yml diff --git a/.github/workflows/release-test-docker.yml b/.github/workflows/release-test-docker.yml index da73a3a8f..386edd484 100644 --- a/.github/workflows/release-test-docker.yml +++ b/.github/workflows/release-test-docker.yml @@ -37,12 +37,12 @@ jobs: - cpu-ubuntu20.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 # # Setup Python Environment # - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v4 with: python-version: "3.11.3" cache: pip diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index d5995ae18..0f9883c80 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -59,9 +59,9 @@ jobs: echo "release_url=${{ env.REPO_URL }}/releases/download/${{ env.VERSION }}" >> $GITHUB_OUTPUT echo "package_name=voicevox_engine-${{ matrix.target }}-${{ env.VERSION }}" >> $GITHUB_OUTPUT - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v2 with: python-version: "3.11.3" cache: pip diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3666063d5..25d2f259c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,10 +20,10 @@ jobs: python: ["3.11.3"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} cache: pip diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index 0d69437fb..a42e05dcf 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: typos-action uses: crate-ci/typos@v1.12.12 diff --git a/.github/workflows/upload-gh-pages.yml b/.github/workflows/upload-gh-pages.yml index 9e78d0a1b..1abd9e9cf 100644 --- a/.github/workflows/upload-gh-pages.yml +++ b/.github/workflows/upload-gh-pages.yml @@ -19,11 +19,11 @@ jobs: upload-doc: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Setup Python id: setup-python - uses: actions/setup-python@v5 + uses: actions/setup-python@v2 with: python-version: ${{ env.PYTHON_VERSION }} cache: pip