Skip to content

Commit d53ba02

Browse files
authored
added RUST_BACKTRACE=1for debugging
1 parent 8d325ed commit d53ba02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: Publish crates for llama-cpp-sys-2
15+
- name: RUST_BACKTRACE=1 Publish crates for llama-cpp-sys-2
1616
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 --dry-run
18+
run: RUST_BACKTRACE=1 cargo publish --package llama-cpp-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose --dry-run
1919
- name: Update version in TOML files
2020
run: |
21+
RUST_BACKTRACE=1
2122
# Extract the current version from the TOML file
2223
CURRENT_VERSION=$(awk -F '"' '/^version/ {print $2}' llama-cpp-2/Cargo.toml)
2324

0 commit comments

Comments
 (0)