Skip to content

Commit

Permalink
Update workflow to publish crate on creating new release
Browse files Browse the repository at this point in the history
  • Loading branch information
nemuelw committed Aug 7, 2024
1 parent 3c3591a commit 773205e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Publish crate

on:
push:
branches:
main
release:
types: [created]

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "usercheck"
description = "Rust client for the UserCheck API"
version = "0.1.0"
version = "0.2.0"
license = "MIT"
documentation = "https://docs.rs/usercheck"
homepage = "https://github.com/nemuelw/usercheck"
Expand Down

0 comments on commit 773205e

Please sign in to comment.