Skip to content

Commit

Permalink
ci: add job to publish openapi-fuzzer to crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
matusf committed Aug 28, 2023
1 parent b7b7148 commit d72ae53
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,19 @@ jobs:
with:
context: .
push: false

release:
name: Publish on crates.io
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [test]
steps:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Publish on crates.io
run: |
cargo login ${{ secrets.CRATES_TOKEN }}
cargo publish

0 comments on commit d72ae53

Please sign in to comment.