Skip to content

Release

Release #5

Workflow file for this run

name: Release
on: workflow_dispatch
jobs:
build:
strategy:
fail-fast: false
matrix:
target:
- x86_64-unknown-linux-musl
include:
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Build Linux
if: matrix.os == 'ubuntu-latest'
run: |
docker run --rm -t \
-v $HOME/.cargo/registry/:/root/.cargo/registry \
-v "$(pwd)":/volume \
clux/muslrust:stable \
cargo build --release --target ${{ matrix.target }}
- name: Upload
uses: actions/upload-artifact@v4
with:
name: fcd-${{ matrix.target }}
path: target/${{ matrix.target }}/release/fcd
if-no-files-found: error