From 7ed49b5b7fc2628596d004af0670642e219b9b84 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Mon, 5 May 2025 12:51:54 +0900 Subject: [PATCH] =?UTF-8?q?refactor(ci):=20=E6=92=B2=E6=BB=85=E5=8F=AF?= =?UTF-8?q?=E8=83=BD=E3=81=AAUUOC=E3=82=92=E6=92=B2=E6=BB=85=E3=81=99?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/actions/rust-toolchain-from-file/action.yml | 2 +- .github/workflows/download_test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/rust-toolchain-from-file/action.yml b/.github/actions/rust-toolchain-from-file/action.yml index 917faed3c..909fbaf16 100644 --- a/.github/actions/rust-toolchain-from-file/action.yml +++ b/.github/actions/rust-toolchain-from-file/action.yml @@ -12,7 +12,7 @@ runs: steps: - id: read-rust-toolchain shell: bash - run: echo "toolchain=$(cat ./rust-toolchain)" >> "$GITHUB_OUTPUT" + run: echo "toolchain=$(< ./rust-toolchain)" >> "$GITHUB_OUTPUT" - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ steps.read-rust-toolchain.outputs.toolchain }} diff --git a/.github/workflows/download_test.yml b/.github/workflows/download_test.yml index bd6ce9ef7..b2282547d 100644 --- a/.github/workflows/download_test.yml +++ b/.github/workflows/download_test.yml @@ -170,7 +170,7 @@ jobs: - name: Check downloaded version run: | [ -e "${{ matrix.download_dir }}/c_api/VERSION" ] - [ "$(cat "${{ matrix.download_dir }}/c_api/VERSION")" = "${{ env.VERSION }}" ] + [ "$(< "${{ matrix.download_dir }}/c_api/VERSION")" = "${{ env.VERSION }}" ] - name: Check downloaded files run: | mapfile -t items < <(echo -n '${{ matrix.check_items }}')