File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -52,28 +52,31 @@ jobs:
52
52
key : ${{ runner.os }}-libbpf
53
53
54
54
- name : install dependencies
55
+ if : steps.cache-libbpf.outputs.cache-hit != 'true'
55
56
run : |
56
57
sudo apt update
57
58
sudo apt install dpkg-dev debhelper libelf-dev
58
59
59
60
- name : build package
61
+ if : steps.cache-libbpf.outputs.cache-hit != 'true'
60
62
run : |
61
63
git clone https://github.com/sudipm-mukherjee/libbpf
62
64
cd libbpf
63
65
dpkg-buildpackage -uc -us -b
64
66
65
- - name : list build artifacts
66
- run : |
67
- ls -lah
68
-
69
67
- name : save libbpf
70
68
id : cache-libbpf-save
69
+ if : steps.cache-libbpf.outputs.cache-hit != 'true'
71
70
uses : actions/cache/save@v4
72
71
with :
73
72
path : |
74
73
libbpf*.deb
75
74
key : ${{ steps.cache-libbpf.outputs.cache-primary-key }}
76
75
76
+ - name : list build artifacts
77
+ run : |
78
+ ls -lah
79
+
77
80
- name : upload package artifacts
78
81
uses : actions/upload-artifact@v4
79
82
with :
You can’t perform that action at this time.
0 commit comments