Skip to content

chore(master): release 0.1.1 (#13) #6

chore(master): release 0.1.1 (#13)

chore(master): release 0.1.1 (#13) #6

name: Publish
on:
push:
tags:
- "v*.*.*"
jobs:
build:
name: Publish ${{ matrix.job.target }} (${{ matrix.job.os }})
runs-on: ${{ matrix.job.os }}
strategy:
fail-fast: false
matrix:
job:
- { target: aarch64-unknown-linux-gnu , os: ubuntu-20.04 }
- { target: arm-unknown-linux-gnueabihf , os: ubuntu-20.04 }
- { target: arm-unknown-linux-musleabihf, os: ubuntu-20.04 }
- { target: i686-unknown-linux-gnu , os: ubuntu-20.04 }
- { target: i686-unknown-linux-musl , os: ubuntu-20.04 }
- { target: x86_64-unknown-linux-gnu , os: ubuntu-20.04 }
- { target: x86_64-unknown-linux-musl , os: ubuntu-20.04 }
- { target: x86_64-apple-darwin , os: macos-12 }
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.job.target }}
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --release --all-features
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/speculare-client
asset_name: speculare-client-${{ github.ref_name }}-${{ matrix.job.target }}
tag: ${{ github.ref }}
overwrite: true