File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 60
60
python3-libvirt \
61
61
qemu-system \
62
62
systemd-boot-efi
63
- sudo apt-get build-dep systemd e2fsprogs
64
63
65
64
- name : Get a newer podman for heredoc support (from plucky)
66
65
run : |
@@ -70,10 +69,20 @@ jobs:
70
69
71
70
- uses : actions/checkout@v4
72
71
73
- - name : Install patched tools
72
+ - name : Check cache for patched tools
73
+ uses : actions/cache@v3
74
+ with :
75
+ path : ~/bin
76
+ key : patched-tools-bin-${{ hashFiles('examples/common/install-patched-tools') }}
77
+
78
+ - name : Ensure patched tools are installed
74
79
run : |
75
- mkdir ~/bin
76
- examples/common/install-patched-tools ~/bin
80
+ set -eux
81
+ if [ ! -x "$HOME/bin/mkfs.ext4" ]; then
82
+ sudo apt-get build-dep systemd e2fsprogs
83
+ mkdir ~/bin
84
+ examples/common/install-patched-tools ~/bin
85
+ fi
77
86
78
87
- name : Run example tests
79
88
run : |
You can’t perform that action at this time.
0 commit comments