Skip to content

Commit 5fc4efd

Browse files
authored
Changed to dry-run for testing purposes
1 parent d71313c commit 5fc4efd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish-upon-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish to Crates.io
1+
name: Test Publish to Crates.io
22

33
on:
44
release:
@@ -20,12 +20,12 @@ jobs:
2020
- name: Install cargo-release
2121
run: cargo install cargo-release
2222

23-
- name: Publish to Crates.io (for llama-cpp-2)
24-
run: cargo release
23+
- name: Dry-run publish to Crates.io (for llama-cpp-2)
24+
run: cargo release --dry-run
2525
env:
2626
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
2727

28-
- name: Publish to Crates.io (for llama-cpp-sys-2)
29-
run: cd llama-cpp-sys-2 && cargo release
28+
- name: Dry-run publish to Crates.io (for llama-cpp-sys-2)
29+
run: cd llama-cpp-sys-2 && cargo release --dry-run
3030
env:
3131
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

0 commit comments

Comments
 (0)