File tree Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 55 imagename :
66 description : name of the image to tag & upload
77 required : true
8-
98
109runs :
1110 using : " composite"
Original file line number Diff line number Diff line change 55 target :
66 description : Build target architecture
77 required : true
8-
98
109runs :
1110 using : " composite"
Original file line number Diff line number Diff line change 4646 cp genesis_block.json ./all-releases/x86_64/
4747 cp all-releases/x86_64/witnet_toolkit release/witnet_toolkit-x86_64-unknown-linux-gnu
4848
49- # armv7
49+ # armv7
5050 - uses : actions/download-artifact@v3
5151 with :
5252 name : armv7-release
6565 run : |
6666 cp genesis_block.json ./all-releases/aarch64/
6767 cp all-releases/aarch64/witnet_toolkit release/witnet_toolkit-aarch64-unknown-linux-gnu
68-
68+
6969 # Copy gensis_block & witnet.toml
7070 - shell : bash
7171 run : |
@@ -75,12 +75,12 @@ runs:
7575 # tar Releases
7676 - shell : bash
7777 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+
8484 # Sign Tars
8585 - shell : bash
8686 run : |
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ jobs:
256256 artifactErrorsFailBuild : true
257257
258258 Publish :
259- # needs: [Release]
259+ needs : [Release]
260260 runs-on : ubuntu-latest
261261 steps :
262262 # Checkout Repo
You can’t perform that action at this time.
0 commit comments