fix release ci

This commit is contained in:
Robin Appelman 2021-03-28 20:20:48 +02:00
commit f0a4482ec5

View file

@ -11,24 +11,25 @@ jobs:
runs-on: ubuntu-18.04
steps:
- name: zfs libs
- name: musl-tools
run: |
sudo apt-get install libzfs2linux libzfslinux-dev
sudo apt-get install musl-tools
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
target: x86_64-unknown-linux-musl
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Upload binary to release
- name: Upload binary to release --target x86_64-unknown-linux-musl
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/palantir
file: target/x86_64-unknown-linux-musl/release/palantir
asset_name: palantir
tag: ${{ github.ref }}