You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
646 B
28 lines
646 B
name: Release CLI
|
|
on:
|
|
release:
|
|
types: [created]
|
|
|
|
jobs:
|
|
release:
|
|
name: release ${{ 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/"
|