Skip to content

chore(boil): Release 0.1.5 (#1306) #1

chore(boil): Release 0.1.5 (#1306)

chore(boil): Release 0.1.5 (#1306) #1

Workflow file for this run

---
name: Release boil
on:
push:
tags:
- "boil-[0-9]+.[0-9]+.[0-9]+**"
env:
RUST_VERSION: 1.87.0
jobs:
create-release:
name: Create Draft Release
runs-on: ubuntu-latest
steps:
- name: Create Draft Release
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
with:
draft: true
build:
name: Build boil
needs:
- create-release
strategy:
fail-fast: false
matrix:
targets:
- { target: aarch64-unknown-linux-gnu, os: ubuntu-24.04-arm }
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest }
- { target: aarch64-apple-darwin, os: macos-latest }
runs-on: ${{ matrix.targets.os }}
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
with:
toolchain: ${{ env.RUST_VERSION }}
targets: ${{ matrix.targets.target }}
- name: Build Binary
env:
TARGET: ${{ matrix.targets.target }}
run: cargo build --target "$TARGET" --release --package boil
- name: Rename Binary
env:
TARGET: ${{ matrix.targets.target }}
run: mv "target/$TARGET/release/boil" "boil-$TARGET"
- name: Upload Artifact to Release
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
with:
draft: false
files: boil-${{ matrix.targets.target }}