Skip to content

Commit 40f5281

Browse files
committed
recursive submodules on publish
1 parent 3be419f commit 40f5281

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: RUST_BACKTRACE=1 Publish crates for llama-cpp-sys-2
16-
run: cargo publish --package llama-cpp-sys-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose --dry-run
15+
with:
16+
submodules: recursive
17+
- name: Publish crates for llama-cpp-sys-2
18+
run: RUST_BACKTRACE=1 cargo publish --package llama-cpp-sys-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose --dry-run
1719
- name: Publish crates for llama-cpp-2
1820
run: RUST_BACKTRACE=1 cargo publish --package llama-cpp-2 --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose --dry-run
1921
- name: Update version in TOML files

0 commit comments

Comments
 (0)