File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 91
91
run : |
92
92
cmake --install build --prefix builds/viam-cpp-sdk-${{ matrix.platform }}
93
93
94
+ - name : Create tar
95
+ run : |
96
+ tar -czvf builds/viam-cpp-sdk-${{ matrix.platform }}.tar.gz builds/viam-cpp-sdk-${{ matrix.platform }}
97
+
94
98
- name : Upload artifacts
95
99
uses : actions/upload-artifact@v3
96
100
with :
@@ -170,6 +174,10 @@ jobs:
170
174
run : |
171
175
/usr/bin/cmake --install build --prefix builds/viam-cpp-sdk-${{ matrix.platform }}
172
176
177
+ - name : Create tar
178
+ run : |
179
+ tar -czvf builds/viam-cpp-sdk-${{ matrix.platform }}.tar.gz builds/viam-cpp-sdk-${{ matrix.platform }}
180
+
173
181
- name : Upload artifacts
174
182
uses : actions/upload-artifact@v3
175
183
with :
@@ -241,12 +249,16 @@ jobs:
241
249
wget \
242
250
zlib1g-dev
243
251
252
+ - name : Update CMake for bullseye
253
+ if : ${{ matrix.image == 'debian:bullseye' }}
254
+ run : |
244
255
apt-add-repository -y 'deb http://deb.debian.org/debian bullseye-backports main'
245
256
246
257
apt-get update
247
258
apt-get -y install cmake
248
259
249
260
apt-get -y --no-install-recommends install -t bullseye-backports cmake
261
+
250
262
- name : Setup build directory
251
263
run : mkdir builds
252
264
@@ -261,6 +273,10 @@ jobs:
261
273
run : |
262
274
/usr/bin/cmake --install build --prefix builds/viam-cpp-sdk-${{ matrix.platform }}
263
275
276
+ - name : Create tar
277
+ run : |
278
+ tar -czvf builds/viam-cpp-sdk-${{ matrix.platform }}.tar.gz builds/viam-cpp-sdk-${{ matrix.platform }}
279
+
264
280
- name : Upload artifacts
265
281
uses : actions/upload-artifact@v3
266
282
with :
@@ -279,7 +295,7 @@ jobs:
279
295
uses : softprops/action-gh-release@v1
280
296
with :
281
297
tag_name : releases/v${{ needs.prepare.outputs.version }}
282
- files : builds/*
298
+ files : builds/*.tar.gz
283
299
draft : true
284
300
prerelease : false
285
301
fail_on_unmatched_files : true
You can’t perform that action at this time.
0 commit comments