From d71313c5386ff94df3d10233be343796b729d5a0 Mon Sep 17 00:00:00 2001 From: sepehr455 <84247783+sepehr455@users.noreply.github.com> Date: Tue, 2 Jan 2024 10:01:09 -0800 Subject: [PATCH] Corrected the names of the crates --- .github/workflows/publish-upon-release.yml | 25 +++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish-upon-release.yml b/.github/workflows/publish-upon-release.yml index 11b55652..08349ace 100644 --- a/.github/workflows/publish-upon-release.yml +++ b/.github/workflows/publish-upon-release.yml @@ -11,22 +11,21 @@ jobs: runs-on: ubuntu-latest steps: - - name: Check out code - uses: actions/checkout@v2 + - name: Check out code + uses: actions/checkout@v2 - - name: Set up Rust - uses: actions/setup-rust@v1 + - name: Set up Rust + uses: actions/setup-rust@v1 - - name: Install cargo-release - run: cargo install cargo-release + - name: Install cargo-release + run: cargo install cargo-release - - name: Publish to Crates.io (for llama-cpp) - run: cargo release - env: + - name: Publish to Crates.io (for llama-cpp-2) + run: cargo release + env: CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} - - name: Publish to Crates.io (for llama-cpp-sys) - run: cd llama-cpp-sys && cargo release - env: + - name: Publish to Crates.io (for llama-cpp-sys-2) + run: cd llama-cpp-sys-2 && cargo release + env: CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} -