Skip to content

Commit

Permalink
Add cli-release workflow
Browse files Browse the repository at this point in the history
Adds a simple `cli-release.yml` GitHub Actions workflow that just builds
`divviup-cli` on Ubuntu, Windows and macOS runners. The goal here is
just to get a basic workflow checked in and acknowledged by GitHub
Actions so that I can then debug and iterate on it in a later PR.

Part of #492
  • Loading branch information
tgeoghegan committed Jun 7, 2024
1 parent bea8f1e commit ec407c9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: cli-release

on:
workflow_dispatch:
release:
types: [published]

env:
CARGO_TERM_COLOR: always

jobs:
build_rust:
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
runs-on: matrix.os
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: build
run: cargo build --package divviup-cli --profile release

0 comments on commit ec407c9

Please sign in to comment.