From 3df02fc334f15040f9bd3b789a324e7cc03433c8 Mon Sep 17 00:00:00 2001 From: Norio Nomura Date: Tue, 6 Aug 2024 12:37:11 +0900 Subject: [PATCH] test.yml: Remove `normalize_template_path` since `hashFile` is no longer used. Signed-off-by: Norio Nomura --- .github/workflows/test.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1599367bcb..f262834c79d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -229,14 +229,10 @@ jobs: run: make - name: Install run: sudo make install - - name: normalize template path - id: normalize_template_path - # `hashFiles` cannot use `..` as a path component, so generate a normalized path here. - run: echo "NORMALIZED=$(realpath templates/${{ matrix.template }})" >> "$GITHUB_OUTPUT" - - name: Cache image used by ${{ steps.normalize_template_path.outputs.NORMALIZED }} + - name: Cache image used by templates/${{ matrix.template }} uses: ./.github/actions/setup_cache_for_template with: - template: ${{ steps.normalize_template_path.outputs.NORMALIZED }} + template: templates/${{ matrix.template }} - name: Install test dependencies run: | sudo apt-get update @@ -413,14 +409,10 @@ jobs: run: make - name: Install run: make install - - name: normalize template path - id: normalize_template_path - # `hashFiles` cannot use `..` as a path component, so generate a normalized path here. - run: echo "NORMALIZED=$(realpath templates/${{ matrix.template }})" >> "$GITHUB_OUTPUT" - - name: Cache image used by ${{ steps.normalize_template_path.outputs.NORMALIZED }} + - name: Cache image used by templates/${{ matrix.template }} uses: ./.github/actions/setup_cache_for_template with: - template: ${{ steps.normalize_template_path.outputs.NORMALIZED }} + template: templates/${{ matrix.template }} - name: Install test dependencies run: brew install bash coreutils jq - name: Uninstall qemu