File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,15 @@ jobs:
45
45
# - name: Install clang
46
46
# run: sudo apt-get install clang-17 lld-17 libclang-cpp17-dev
47
47
48
- - name : Cache HDOC build
49
- id : cache-hdoc
50
- uses : actions/cache@v4
48
+ - name : Restore Cache HDOC build
49
+ id : cache-hdoc-restore
50
+ uses : actions/cache/restore @v4
51
51
with :
52
52
path : ${{ env.BUILD_HDOC_DIR }}
53
53
key : ${{ runner.os }}-hdoc
54
54
55
55
- name : Build hdoc
56
- if : steps.cache-hdoc.outputs.cache-hit != 'true'
56
+ if : steps.cache-hdoc-restore .outputs.cache-hit != 'true'
57
57
run : |
58
58
mkdir -p ${{ env.BUILD_HDOC_DIR }}
59
59
cd ${{ env.BUILD_HDOC_DIR }}
63
63
CC=clang-17 CXX=clang++-17 CPP=clang-cpp-17 meson build
64
64
sudo ninja -C build
65
65
66
+ - name : Save Cache HDOC build
67
+ id : cache-hdoc-save
68
+ uses : actions/cache/save@v4
69
+ with :
70
+ path : ${{ env.BUILD_HDOC_DIR }}
71
+ key : ${{ steps.cache-hdoc-restore.outputs.cache-primary-key }}
72
+
73
+
66
74
- name : Copy hdoc binary
67
75
run : |
68
76
sudo cp ${{ env.BUILD_HDOC_DIR }}/hdoc/build/hdoc /hdoc
87
95
- name : Upload documentation to custom server
88
96
run : |
89
97
cd hdoc-output
90
- zip -r archive.zip *
91
- curl -X POST \
98
+ sudo zip -r archive.zip *
99
+ sudo curl -X POST \
92
100
-F filedata=@archive.zip \
93
101
-F name="TotalyNotRabbitMQ" \
94
102
-F version="1.0.0" \
You can’t perform that action at this time.
0 commit comments