Skip to content

Commit

Permalink
test.yml: Remove normalize_template_path since hashFile is no lon…
Browse files Browse the repository at this point in the history
…ger used.

Signed-off-by: Norio Nomura <norio.nomura@gmail.com>
  • Loading branch information
norio-nomura committed Aug 6, 2024
1 parent 0c0c914 commit 3df02fc
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3df02fc

Please sign in to comment.