Skip to content

Commit

Permalink
build(ci): add release workflow (#19)
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht committed Apr 24, 2024
1 parent 1390b93 commit ab3a883
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Crates.io Release

env:
RUST_VERSION: "1.74"

on:
workflow_dispatch:

Expand All @@ -10,7 +13,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1

- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
toolchain: ${{ env.RUST_VERSION }}
targets: x86_64-linux-android

- run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --target=x86_64-linux-android

0 comments on commit ab3a883

Please sign in to comment.