summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/CI.yml (renamed from .github/workflows/rust.yml)6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/CI.yml
index 7ae98f3..d4ed039 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/CI.yml
@@ -1,4 +1,4 @@
-name: Rust
+name: CI
on:
push:
@@ -20,3 +20,7 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
+ - name: Publish
+ run: |
+ cargo login ${{ secrets.CARGO_API_KEY }}
+ cargo publish