Skip to content

CI update

CI update #10

Workflow file for this run

# Generate binary releases when a tag is pushed
name: release
on:
push:
tags:
- '[0-9]+.*'
jobs:
binaries:
name: 'Upload release binaries'
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
- target: aarch64-unknown-linux-musl
os: ubuntu-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: universal-apple-darwin
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: mdbook-i18n-helpers
target: ${{ matrix.target }}
features: vendored-openssl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}