Skip to content

Commit 376612c

Browse files
committed
ci: 🚑 fix tar typos & job dependency
1 parent d81c417 commit 376612c

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.github/actions/build-helper/action.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Inputs:
55
imagename:
66
description: name of the image to tag & upload
77
required: true
8-
98

109
runs:
1110
using: "composite"

.github/actions/build-linux/action.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Inputs:
55
target:
66
description: Build target architecture
77
required: true
8-
98

109
runs:
1110
using: "composite"

.github/actions/download-releases/action.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ runs:
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
@@ -65,7 +65,7 @@ runs:
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: |

.github/workflows/master.yml

+1-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)