Skip to content

Commit

Permalink
add if for x86-64 pool
Browse files Browse the repository at this point in the history
  • Loading branch information
plebhash committed Feb 21, 2024
1 parent fcf7df0 commit 2379c1b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release-bin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ on:

jobs:
release_pool:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand All @@ -19,13 +22,16 @@ jobs:
override: true
- name: Build
run: cargo build --release --locked --manifest-path=roles/pool/Cargo.toml
- name: Upload binaries to release

- name: Upload x86-64 binaries to release
if: matrix.os == 'ubuntu-latest'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: roles/target/release/pool_sv2
asset_name: pool_sv2
asset_name: pool_sv2-x86_64-linux-gnu
tag: ${{ github.ref }}

release_jdc:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 2379c1b

Please sign in to comment.