Skip to content

Commit

Permalink
add release
Browse files Browse the repository at this point in the history
  • Loading branch information
stringhandler committed Apr 30, 2024
1 parent 2b4a9c8 commit 7e210a1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name: Build Matrix of Binaries
branches:
- main
- build-*
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

env:
TARI_TARGET_NETWORK: nextnet
Expand Down Expand Up @@ -42,4 +44,20 @@ jobs:
cargo build --release --bin xtrgpuminer
- uses: actions/upload-artifact@v4
with:
path: src/miner/target/release/xtrgpuminer.exe
name: xtr_miner
path: src/miner/target/release/xtrgpuminer.exe

create-release:
runs-on: ubuntu-latest
needs: build
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- name: Download binaries
uses: actions/download-artifact@v4
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "xtr_*/**/*"
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
draft: true

0 comments on commit 7e210a1

Please sign in to comment.