Skip to content

Commit 3df02fc

Browse files
committed
test.yml: Remove normalize_template_path since hashFile is no longer used.
Signed-off-by: Norio Nomura <[email protected]>
1 parent 0c0c914 commit 3df02fc

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/test.yml

+4-12
Original file line numberDiff line numberDiff line change
@@ -229,14 +229,10 @@ jobs:
229229
run: make
230230
- name: Install
231231
run: sudo make install
232-
- name: normalize template path
233-
id: normalize_template_path
234-
# `hashFiles` cannot use `..` as a path component, so generate a normalized path here.
235-
run: echo "NORMALIZED=$(realpath templates/${{ matrix.template }})" >> "$GITHUB_OUTPUT"
236-
- name: Cache image used by ${{ steps.normalize_template_path.outputs.NORMALIZED }}
232+
- name: Cache image used by templates/${{ matrix.template }}
237233
uses: ./.github/actions/setup_cache_for_template
238234
with:
239-
template: ${{ steps.normalize_template_path.outputs.NORMALIZED }}
235+
template: templates/${{ matrix.template }}
240236
- name: Install test dependencies
241237
run: |
242238
sudo apt-get update
@@ -413,14 +409,10 @@ jobs:
413409
run: make
414410
- name: Install
415411
run: make install
416-
- name: normalize template path
417-
id: normalize_template_path
418-
# `hashFiles` cannot use `..` as a path component, so generate a normalized path here.
419-
run: echo "NORMALIZED=$(realpath templates/${{ matrix.template }})" >> "$GITHUB_OUTPUT"
420-
- name: Cache image used by ${{ steps.normalize_template_path.outputs.NORMALIZED }}
412+
- name: Cache image used by templates/${{ matrix.template }}
421413
uses: ./.github/actions/setup_cache_for_template
422414
with:
423-
template: ${{ steps.normalize_template_path.outputs.NORMALIZED }}
415+
template: templates/${{ matrix.template }}
424416
- name: Install test dependencies
425417
run: brew install bash coreutils jq
426418
- name: Uninstall qemu

0 commit comments

Comments
 (0)