Skip to content

Commit

Permalink
ci: 🚑 fix tar typos & job dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
aeweda committed Oct 17, 2022
1 parent d81c417 commit 376612c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/actions/build-helper/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Inputs:
imagename:
description: name of the image to tag & upload
required: true


runs:
using: "composite"
Expand Down
1 change: 0 additions & 1 deletion .github/actions/build-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Inputs:
target:
description: Build target architecture
required: true


runs:
using: "composite"
Expand Down
16 changes: 8 additions & 8 deletions .github/actions/download-releases/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
cp genesis_block.json ./all-releases/x86_64/
cp all-releases/x86_64/witnet_toolkit release/witnet_toolkit-x86_64-unknown-linux-gnu
# armv7
# armv7
- uses: actions/download-artifact@v3
with:
name: armv7-release
Expand All @@ -65,7 +65,7 @@ runs:
run: |
cp genesis_block.json ./all-releases/aarch64/
cp all-releases/aarch64/witnet_toolkit release/witnet_toolkit-aarch64-unknown-linux-gnu
# Copy gensis_block & witnet.toml
- shell: bash
run: |
Expand All @@ -75,12 +75,12 @@ runs:
# tar Releases
- shell: bash
run: |
tar -czvf release/witnet-${{github.ref_name}}-x86_64-apple-darwin.tar.gz all-releases/macos/
tar -czvf release/witnet-${{github.ref_name}}-x86_64-pc-windows-msvc.tar.gz all-releases/windows/
tar -czvf release/witnet-${{github.ref_name}}-x86_64-unknown-linux-gnu.tar.gz all-releases/x86_64/
tar -czvf release/witnet-${{github.ref_name}}-armv7-unknown-linux-gnueabihf.tar.gz all-releases/armv7/
tar -czvf release/witnet-${{github.ref_name}}-aarch64-unknown-linux-gnu.tar.gz all-releases/aarch64/
tar -czvf release/witnet-${{github.ref_name}}-x86_64-apple-darwin.tar.gz -C all-releases/macos/ .
tar -czvf release/witnet-${{github.ref_name}}-x86_64-pc-windows-msvc.tar.gz -C all-releases/windows/ .
tar -czvf release/witnet-${{github.ref_name}}-x86_64-unknown-linux-gnu.tar.gz -C all-releases/x86_64/ .
tar -czvf release/witnet-${{github.ref_name}}-armv7-unknown-linux-gnueabihf.tar.gz -C all-releases/armv7/ .
tar -czvf release/witnet-${{github.ref_name}}-aarch64-unknown-linux-gnu.tar.gz -C all-releases/aarch64/ .
# Sign Tars
- shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ jobs:
artifactErrorsFailBuild: true

Publish:
#needs: [Release]
needs: [Release]
runs-on: ubuntu-latest
steps:
# Checkout Repo
Expand Down

0 comments on commit 376612c

Please sign in to comment.