@@ -15,21 +15,37 @@ jobs:
15
15
- name : Checkout sources
16
16
uses : actions/checkout@v3
17
17
18
- - name : Install stable toolchain and restore cache
18
+ - name : Install stable toolchain, tools, and restore cache
19
19
uses : ./.github/workflows/actions/toolchain-and-cache
20
20
with :
21
21
cache-version : ${{ secrets.CACHE_VERSION }}
22
+ cargo-tools : cargo-deb
22
23
23
24
- name : Build Mithril workspace & publish artifacts
24
25
uses : ./.github/workflows/actions/build-upload-mithril-artifact
25
26
27
+ - name : Build Debian packages
28
+ shell : bash
29
+ run : |
30
+ cargo deb -p mithril-aggregator
31
+ cargo deb -p mithril-signer
32
+ cargo deb -p mithril-client
33
+
34
+ - name : Publish Debian packages
35
+ uses : actions/upload-artifact@v3
36
+ with :
37
+ name : mithril-deb-packages-${{ runner.os }}-${{ runner.arch }}
38
+ path : target/debian/*.deb
39
+ if-no-files-found : error
40
+
26
41
- name : Publish End-to-end runner (${{ runner.os }}-${{ runner.arch }})
27
42
uses : actions/upload-artifact@v3
28
43
with :
29
44
name : mithril-end-to-end-${{ runner.os }}-${{ runner.arch }}
30
45
path : target/release/mithril-end-to-end
31
46
if-no-files-found : error
32
47
48
+
33
49
build :
34
50
strategy :
35
51
fail-fast : false
@@ -295,6 +311,12 @@ jobs:
295
311
name : mithril-distribution-Linux-X64
296
312
path : ./package-Linux-X64
297
313
314
+ - name : Download Debian packages (Linux-X64)
315
+ uses : actions/download-artifact@v3
316
+ with :
317
+ name : mithril-deb-packages-Linux-x64
318
+ path : ./package
319
+
298
320
- name : Download built artifacts (macOS-X64)
299
321
uses : actions/download-artifact@v3
300
322
with :
0 commit comments