Skip to content

Commit

Permalink
test: test ci to publish to crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
yfblock committed Apr 30, 2024
1 parent 439decd commit dedb751
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,12 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CRATES_PUBLISH_TOKEN }}







- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
# - uses: katyo/publish-crates@v2
# with:
# registry-token: ${{ secrets.CRATES_PUBLISH_TOKEN }}
- name: publish to crates.io
run: cargo login --registry crates-io ${{ secrets.CRATES_PUBLISH_TOKEN }}
- name: publish to crates.io
run: cargo publish --registry crates-io
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
Expand Up @@ -2,7 +2,7 @@
name = "kbuild"
authors = ["yfblock@[email protected]"]
description = "This package help you to build rust kernel quickly and easily."
version = "0.1.1"
version = "0.1.2"
edition = "2021"
license = "MIT"
repository = "https://github.com/Byte-OS/kbuild"
Expand Down

0 comments on commit dedb751

Please sign in to comment.