@@ -4,20 +4,20 @@ description: "Download All releases artifacted from the previous jobs & Signs"
44runs :
55 using : " composite"
66 steps :
7- # Make Directory
8- - shell : bash
7+ - name : Create Release Directory
8+ shell : bash
99 run : mkdir release
1010
11- # Download Genesis Block
12- - shell : bash
11+ - name : Download Gensis Block
12+ shell : bash
1313 run : |
1414 curl "https://raw.githubusercontent.com/witnet/genesis_block/master/latest/genesis_block.json" -o genesis_block.json
1515 cp genesis_block.json release/
1616 cp witnet.toml release/
1717
1818 # Download & Hash Releases
19- # Macos
20- - uses : actions/download-artifact@v3
19+ - name : Download MacOS Build
20+ uses : actions/download-artifact@v4
2121 with :
2222 name : macos-release
2323 path : all-releases/macos/
2828 cp witnet.toml ./all-releases/macos/
2929 mv all-releases/macos/witnet_toolkit release/witnet_toolkit-x86_64-apple-darwin
3030
31- # Windows
32- - uses : actions/download-artifact@v3
31+ - name : Download Windows Build
32+ uses : actions/download-artifact@v4
3333 with :
3434 name : windows-release
3535 path : all-releases/windows/
4040 cp witnet.toml ./all-releases/windows/
4141 mv all-releases/windows/witnet_toolkit.exe release/witnet_toolkit-x86_64-pc-windows-msvc.exe
4242
43- # x86_64
44- - uses : actions/download-artifact@v3
43+ - name : Download x86_64 Build
44+ uses : actions/download-artifact@v4
4545 with :
4646 name : x86_64-release
4747 path : all-releases/x86_64/
5252 cp witnet.toml ./all-releases/x86_64/
5353 mv all-releases/x86_64/witnet_toolkit release/witnet_toolkit-x86_64-unknown-linux-gnu
5454
55- # armv7
56- - uses : actions/download-artifact@v3
55+ - name : Download armv7 Build
56+ uses : actions/download-artifact@v4
5757 with :
5858 name : armv7-release
5959 path : all-releases/armv7/
6464 cp witnet.toml ./all-releases/armv7/
6565 mv all-releases/armv7/witnet_toolkit release/witnet_toolkit-armv7-unknown-linux-gnueabihf
6666
67- # aarch64
68- - uses : actions/download-artifact@v3
67+ - name : Download aarch64 Build
68+ uses : actions/download-artifact@v4
6969 with :
7070 name : aarch64-release
7171 path : all-releases/aarch64/
@@ -76,17 +76,17 @@ runs:
7676 cp witnet.toml ./all-releases/aarch64/
7777 mv all-releases/aarch64/witnet_toolkit release/witnet_toolkit-aarch64-unknown-linux-gnu
7878
79- # tar Releases
80- - shell : bash
79+ - name : Tar Releases
80+ shell : bash
8181 run : |
8282 tar -czvf release/witnet-${{github.ref_name}}-x86_64-apple-darwin.tar.gz -C all-releases/macos/ .
8383 tar -czvf release/witnet-${{github.ref_name}}-x86_64-pc-windows-msvc.tar.gz -C all-releases/windows/ .
8484 tar -czvf release/witnet-${{github.ref_name}}-x86_64-unknown-linux-gnu.tar.gz -C all-releases/x86_64/ .
8585 tar -czvf release/witnet-${{github.ref_name}}-armv7-unknown-linux-gnueabihf.tar.gz -C all-releases/armv7/ .
8686 tar -czvf release/witnet-${{github.ref_name}}-aarch64-unknown-linux-gnu.tar.gz -C all-releases/aarch64/ .
8787
88- # Sign Tars
89- - shell : bash
88+ - name : Sign Tars
89+ shell : bash
9090 run : |
9191 cd release
9292 sha256sum genesis_block.json >>SHA256SUMS
0 commit comments