Skip to content

Commit

Permalink
Merge branch 'main' of github.com:besok/jsonpath-rust
Browse files Browse the repository at this point in the history
  • Loading branch information
besok committed Mar 15, 2023
2 parents e32c2b8 + 1bc8b44 commit b9fa917
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Rust CI
on:
push:
branches: ["main"]
tags: ["v*"]
pull_request:
types: [opened, synchronize, reopened]

Expand Down Expand Up @@ -49,3 +50,16 @@ jobs:
profile: minimal
toolchain: stable
- run: cargo doc --all-features --no-deps

publish:
name: publish on crates.io
needs:
- rustfmt
- clippy
- test
- doc
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo publish -p jsonpath-rust --token ${{ secrets.CRATES_IO_TOKEN }}

0 comments on commit b9fa917

Please sign in to comment.