Skip to content

Commit 62dfb66

Browse files
authored
Try a different way to publish crate (#11)
1 parent 4091248 commit 62dfb66

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/publish-crate.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v2
19-
20-
- name: Set up Rust
21-
uses: actions-rs/toolchain@v1
19+
- uses: ryohidaka/action-cargo-publish@v0.1.0
2220
with:
23-
profile: minimal
24-
toolchain: nightly
25-
26-
- name: Publish to crates.io
27-
run: cargo publish
28-
env:
29-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
21+
path: "."
22+
token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
23+
dry-run: false

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mneme"
3-
version = "0.3.5"
3+
version = "0.3.6"
44
authors = ["John Wilger <john@johnwilger.com>"]
55
edition = "2024"
66
description = "An event-sourcing library for Rust projects."

0 commit comments

Comments
 (0)