1
1
name : Srtool build
2
2
3
+ env :
4
+ SUBWASM_VERSION : 0.13.2
5
+ SRTOOL_TAG : 1.53.0-0.9.16
6
+
3
7
on :
4
8
workflow_dispatch :
5
9
inputs :
6
10
srtool_tag :
7
11
description : The SRTOOL tag to use
8
- default : 1.53.0-0.9.15
12
+ # keep the same as `env.SRTOOL_TAG`
13
+ default : 1.53.0-0.9.16
9
14
required : false
10
15
ref :
11
16
description : The ref to be used for the repo
17
22
tags :
18
23
- " *"
19
24
20
- env :
21
- srtool_tag : 1.53.0-0.9.15
22
-
23
25
jobs :
24
26
build :
25
27
name : Build ${{ matrix.chain }} ${{ github.event.inputs.ref || github.ref }}
@@ -37,10 +39,10 @@ jobs:
37
39
38
40
- name : Srtool build
39
41
id : srtool_build
40
- uses : chevdor/srtool-actions@v0.2 .0
42
+ uses : chevdor/srtool-actions@v0.3 .0
41
43
with :
42
44
chain : ${{ matrix.chain }}
43
- tag : ${{ github.event.inputs.srtool_tag || env.srtool_tag }}
45
+ tag : ${{ github.event.inputs.srtool_tag || env.SRTOOL_TAG }}
44
46
45
47
- name : Summary
46
48
run : |
@@ -57,10 +59,10 @@ jobs:
57
59
${{ steps.srtool_build.outputs.wasm_compressed }}
58
60
${{ matrix.chain }}-srtool-digest.json
59
61
# We now get extra information thanks to subwasm,
60
- - name : Install subwasm
62
+ - name : Install subwasm ${{ env.SUBWASM_VERSION }}
61
63
run : |
62
- wget https://github.com/chevdor/subwasm/releases/download/v0.12.0/subwasm_linux_amd64_v0.12.0 .deb
63
- sudo dpkg -i subwasm_linux_amd64_v0.12.0 .deb
64
+ wget https://github.com/chevdor/subwasm/releases/download/v${{ env.SUBWASM_VERSION }}/subwasm_linux_amd64_v${{ env.SUBWASM_VERSION }} .deb
65
+ sudo dpkg -i subwasm_linux_amd64_v${{ env.SUBWASM_VERSION }} .deb
64
66
subwasm --version
65
67
- name : Show Runtime information
66
68
run : |
0 commit comments