Skip to content

Commit

Permalink
chore: update version on crates.io (#3)
Browse files Browse the repository at this point in the history
* update version on crates.io

* update version on crates.io
  • Loading branch information
thesapan authored Jun 29, 2024
1 parent 962558a commit 8ccc5a0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,20 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'

steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Authenticate with crates.io
run: echo "${{ secrets.CARGO_REGISTRY_TOKEN }}" | cargo login

- name: Publish to crates.io
run: cargo publish

0 comments on commit 8ccc5a0

Please sign in to comment.