Skip to content

Commit ec8d72c

Browse files
authored
added dry-run flag for testing
1 parent d6c89af commit ec8d72c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515
- name: Publish crates for llama-cpp-sys-2
16-
run: cargo publish --package llama-cpp-sys-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose
16+
run: cargo publish --package llama-cpp-sys-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose --dry-run
1717
- name: Publish crates for llama-cpp-2
18-
run: cargo publish --package llama-cpp-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose
18+
run: cargo publish --package llama-cpp-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose --dry-run
1919
- name: Update version in TOML files
2020
run: |
2121
# Extract the current version from the TOML file

0 commit comments

Comments
 (0)