From ec407c9cbfc46abcdfac382449b1f4c163d6eda3 Mon Sep 17 00:00:00 2001 From: Tim Geoghegan Date: Fri, 7 Jun 2024 11:14:39 -0700 Subject: [PATCH] Add `cli-release` workflow 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 --- .github/workflows/cli-release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/cli-release.yml diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml new file mode 100644 index 00000000..f09c6979 --- /dev/null +++ b/.github/workflows/cli-release.yml @@ -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