Skip to content

Commit

Permalink
ci: create separate mining artifact (#3363)
Browse files Browse the repository at this point in the history
Description
---
Creates and uploads a separate mining artifact when building binaries

Motivation and Context
---
Since you can mine against a pool, you may only want to download the mining node

How Has This Been Tested?
---
Tested manually via Github action
  • Loading branch information
stringhandler committed Sep 20, 2021
1 parent 2fde873 commit 8d4e258
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/base_node_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,12 @@ jobs:
name: tari_binary_archive-${{ matrix.os }}-${{ matrix.target_cpu }}
path: "${{ github.workspace }}${{ env.TBN_DIST }}/${{ env.BINFILE }}.zip*"

- name: Artifact miner
uses: actions/upload-artifact@v2
with:
name: tari_mining_node-${{ matrix.os }}-${{ matrix.target_cpu }}
path: "${{ github.workspace }}${{ env.TBN_DIST }}/tari_mining_node${{ env.TBN_EXT}}"

- name: Sync dist to S3 - Bash
continue-on-error: true # Don't break if s3 upload fails
if: ${{ env.AWS_SECRET_ACCESS_KEY != '' && matrix.os != 'self-hosted' }}
Expand Down

0 comments on commit 8d4e258

Please sign in to comment.