Skip to content

misc(release): Prepare for v0.8.3. #40

misc(release): Prepare for v0.8.3.

misc(release): Prepare for v0.8.3. #40

Workflow file for this run

name: Artifacts
on:
push:
tags:
- '**'
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install `nightly` Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
- name: Restore Rust cache
uses: Swatinem/rust-cache@v2
with:
key: artifacts
- name: Cargo Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Upload Artifacts (Linux)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v4
with:
name: clog-x86_64-unknown-linux-gnu
path: ./target/release/clog
if-no-files-found: error
- name: Upload Artifacts (Windows)
if: runner.os == 'Windows'
uses: actions/upload-artifact@v4
with:
name: clog-x86_64-pc-windows-msvc
path: ./target/release/clog.exe
if-no-files-found: error