Skip to content

Commit

Permalink
Adding crate
Browse files Browse the repository at this point in the history
  • Loading branch information
jinlow committed Mar 24, 2024
1 parent 38d7bcc commit 153a354
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 @@ -117,3 +117,19 @@ jobs:
with:
command: upload
args: --non-interactive --skip-existing *

cargo-build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latests stable Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Run tests
run: cargo test --verbose
- if: "startsWith(github.ref, 'refs/tags/')"
name: Publish Crate
run: cargo publish --token ${CRATES_TOKEN} --allow-dirty
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 comments on commit 153a354

Please sign in to comment.