File tree 4 files changed +9
-11
lines changed
4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 5
5
imagename :
6
6
description : name of the image to tag & upload
7
7
required : true
8
-
9
8
10
9
runs :
11
10
using : " composite"
Original file line number Diff line number Diff line change 5
5
target :
6
6
description : Build target architecture
7
7
required : true
8
-
9
8
10
9
runs :
11
10
using : " composite"
Original file line number Diff line number Diff line change 46
46
cp genesis_block.json ./all-releases/x86_64/
47
47
cp all-releases/x86_64/witnet_toolkit release/witnet_toolkit-x86_64-unknown-linux-gnu
48
48
49
- # armv7
49
+ # armv7
50
50
- uses : actions/download-artifact@v3
51
51
with :
52
52
name : armv7-release
65
65
run : |
66
66
cp genesis_block.json ./all-releases/aarch64/
67
67
cp all-releases/aarch64/witnet_toolkit release/witnet_toolkit-aarch64-unknown-linux-gnu
68
-
68
+
69
69
# Copy gensis_block & witnet.toml
70
70
- shell : bash
71
71
run : |
@@ -75,12 +75,12 @@ runs:
75
75
# tar Releases
76
76
- shell : bash
77
77
run : |
78
- tar -czvf release/witnet-${{github.ref_name}}-x86_64-apple-darwin.tar.gz all-releases/macos/
79
- tar -czvf release/witnet-${{github.ref_name}}-x86_64-pc-windows-msvc.tar.gz all-releases/windows/
80
- tar -czvf release/witnet-${{github.ref_name}}-x86_64-unknown-linux-gnu.tar.gz all-releases/x86_64/
81
- tar -czvf release/witnet-${{github.ref_name}}-armv7-unknown-linux-gnueabihf.tar.gz all-releases/armv7/
82
- tar -czvf release/witnet-${{github.ref_name}}-aarch64-unknown-linux-gnu.tar.gz all-releases/aarch64/
83
-
78
+ tar -czvf release/witnet-${{github.ref_name}}-x86_64-apple-darwin.tar.gz -C all-releases/macos/ .
79
+ tar -czvf release/witnet-${{github.ref_name}}-x86_64-pc-windows-msvc.tar.gz -C all-releases/windows/ .
80
+ tar -czvf release/witnet-${{github.ref_name}}-x86_64-unknown-linux-gnu.tar.gz -C all-releases/x86_64/ .
81
+ tar -czvf release/witnet-${{github.ref_name}}-armv7-unknown-linux-gnueabihf.tar.gz -C all-releases/armv7/ .
82
+ tar -czvf release/witnet-${{github.ref_name}}-aarch64-unknown-linux-gnu.tar.gz -C all-releases/aarch64/ .
83
+
84
84
# Sign Tars
85
85
- shell : bash
86
86
run : |
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ jobs:
256
256
artifactErrorsFailBuild : true
257
257
258
258
Publish :
259
- # needs: [Release]
259
+ needs : [Release]
260
260
runs-on : ubuntu-latest
261
261
steps :
262
262
# Checkout Repo
You can’t perform that action at this time.
0 commit comments