diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4c7c718..87c89d3 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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 diff --git a/Cargo.lock b/Cargo.lock index d3e8052..b123b59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -59,7 +59,7 @@ checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767" [[package]] name = "kbuild" -version = "0.1.1" +version = "0.1.2" dependencies = [ "anyhow", "color-print", diff --git a/Cargo.toml b/Cargo.toml index 41c36d7..07361ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "kbuild" authors = ["yfblock@321353225@qq.com"] 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"