Skip to content

altered workflow yml #2

altered workflow yml

altered workflow yml #2

Workflow file for this run

name: Rust
on: [push]
jobs:
build-mac:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install latest rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-apple-darwin
default: true
override: true
- name: Build for mac
run: cargo build --all --release && strip target/release/kx && mv target/release/kx target/release/kx_darwin
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/kx_darwin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}