Skip to content

Commit

Permalink
Merge pull request #12 from ludndev/fix/release
Browse files Browse the repository at this point in the history
fix/release
  • Loading branch information
ludndev authored Sep 23, 2023
2 parents ba3ba2b + 55a8a41 commit f39a9a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
CARGO_TERM_COLOR: always

jobs:
test:
release:
runs-on: ubuntu-latest

steps:
Expand All @@ -24,19 +24,5 @@ jobs:
- name: Run tests
run: cargo test --verbose

release:
runs-on: ubuntu-latest
needs: test

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Publish to Crates.io
run: cargo publish --token ${CRATES_TOKEN}
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Run Tests on PR Merge
on:
pull_request:
types:
- opened
- closed
- reopened

env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
Expand Down
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[package]
name = "ludndev-hello-world"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
description = "A Rust crate for greeting people."
keywords = ["rust", "greeting", "hello"]
license = "MIT"
license-file = "LICENSE"
homepage = "https://crates.io/crates/ludndev-hello-world"
repository = "https://github.com/ludndev/rustlang-hello-world-lib"
documentation = "https://docs.rs/ludndev-hello-world/0.1.0/ludndev_hello_world/"
documentation = "https://docs.rs/ludndev-hello-world"

[dependencies]

0 comments on commit f39a9a7

Please sign in to comment.