From 5fc4efd306681863d6dce0e14895886763c89bed Mon Sep 17 00:00:00 2001 From: sepehr455 <84247783+sepehr455@users.noreply.github.com> Date: Tue, 2 Jan 2024 10:17:56 -0800 Subject: [PATCH] Changed to dry-run for testing purposes --- .github/workflows/publish-upon-release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-upon-release.yml b/.github/workflows/publish-upon-release.yml index 08349ace..5cc9ca6d 100644 --- a/.github/workflows/publish-upon-release.yml +++ b/.github/workflows/publish-upon-release.yml @@ -1,4 +1,4 @@ -name: Publish to Crates.io +name: Test Publish to Crates.io on: release: @@ -20,12 +20,12 @@ jobs: - name: Install cargo-release run: cargo install cargo-release - - name: Publish to Crates.io (for llama-cpp-2) - run: cargo release + - name: Dry-run publish to Crates.io (for llama-cpp-2) + run: cargo release --dry-run env: CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} - - name: Publish to Crates.io (for llama-cpp-sys-2) - run: cd llama-cpp-sys-2 && cargo release + - name: Dry-run publish to Crates.io (for llama-cpp-sys-2) + run: cd llama-cpp-sys-2 && cargo release --dry-run env: CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}