parent
2ffdf3f4bd
commit
32a6c81959
@ -0,0 +1,26 @@
|
|||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: Release CLI for ${{ 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:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Compile and release
|
||||||
|
uses: rust-build/rust-build.action@latest
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
RUSTTARGET: ${{ matrix.target }}
|
||||||
|
EXTRA_FILES: "README.md LICENSE"
|
||||||
|
SRC_DIR: "cli/"
|
Loading…
Reference in new issue