Skip to content

Rust - Release creation #19

Rust - Release creation

Rust - Release creation #19

Workflow file for this run

name: Rust - Release creation
on:
release:
types: [created]
workflow_dispatch:
jobs:
create-release:
name: Build ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
[
x86_64-pc-windows-gnu,
x86_64-unknown-linux-musl,
x86_64-apple-darwin,
]
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- name: Compile
id: compile
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
SRC_DIR: "adb_cli"
EXTRA_COMMAND_FLAGS: "--bin adb_cli"
TOOLCHAIN_VERSION: stable
PRE_BUILD: .github/workflows/install-deps.sh