Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
liulifox233 committed Dec 7, 2024
1 parent c538834 commit 85d92f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Check
on:
push:
branches: [ "main" ]
tags:
- "v*"
pull_request:
branches: [ "main" ]

Expand All @@ -25,5 +27,6 @@ jobs:
- name: Run tests
run: cargo test --lib --verbose
- uses: katyo/publish-crates@v2
if: startsWith(github.ref, 'refs/tags/')
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 85d92f3

Please sign in to comment.