Skip to content

Commit

Permalink
Update test-cache.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pguyot authored Aug 11, 2023
1 parent 606b585 commit 0e5ed45
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/test-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ jobs:
set -e
test ! -f /usr/games/fortune
apt update
apt install -y fortunes-min fortune-mod
# db is not installed at the proper path
if [ ! -d /usr/share/games/fortune ]; then
ln -s /usr/share/games/fortunes /usr/share/games/fortune
fi
find /usr/share/games
apt install -y fortunes-min fortune
- name: Move and rename image with dependencies
if: steps.cache.outputs.cache-hit != 'true'
Expand All @@ -43,5 +38,4 @@ jobs:
with:
base_image: file://$RUNNER_TEMP/test_cache.img
commands: |
find /usr/share/games
/usr/games/fortune
/usr/games/fortune /usr/share/games/fortunes/fortunes

0 comments on commit 0e5ed45

Please sign in to comment.