Skip to content

Commit

Permalink
Changed to dry-run for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
sepehr455 authored Jan 2, 2024
1 parent d71313c commit 5fc4efd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-upon-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to Crates.io
name: Test Publish to Crates.io

on:
release:
Expand All @@ -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 }}

0 comments on commit 5fc4efd

Please sign in to comment.