File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 42
42
build_libbpf :
43
43
runs-on : ubuntu-22.04
44
44
steps :
45
+
46
+ - name : Restore cached libbpf
47
+ id : cache-libbpf
48
+ uses : actions/cache/restore@v4
49
+ with :
50
+ path : |
51
+ libbpf*.deb
52
+ key : ${{ runner.os }}-libbpf
53
+
45
54
- name : install dependencies
46
55
run : |
47
56
sudo apt update
@@ -52,10 +61,19 @@ jobs:
52
61
git clone https://github.com/sudipm-mukherjee/libbpf
53
62
cd libbpf
54
63
dpkg-buildpackage -uc -us -b
55
-
56
- - run : |
64
+
65
+ - name : list build artifacts
66
+ run : |
57
67
ls -lah
58
68
69
+ - name : save libbpf
70
+ id : cache-libbpf-save
71
+ uses : actions/cache/save@v4
72
+ with :
73
+ path : |
74
+ libbpf*.deb
75
+ key : ${{ steps.cache-libbpf.outputs.cache-primary-key }}
76
+
59
77
- name : upload package artifacts
60
78
uses : actions/upload-artifact@v4
61
79
with :
You can’t perform that action at this time.
0 commit comments