Skip to content

add cargo caching

add cargo caching #6

Workflow file for this run

name: Build package
on: [push, pull_request]
jobs:
sentry-cli:
name: Build sentry-cli
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable-x86_64-pc-windows-msvc
- uses: Swatinem/rust-cache@v2
- name: Run cargo build
run: |
cd sentry-cli
cargo build --release --locked
- uses: actions/upload-artifact@v4
with:
name: sentry-cli.exe
path: sentry-cli/target/release/sentry-cli.exe