add cargo login
This commit is contained in:
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
@@ -18,5 +18,8 @@ jobs:
|
|||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test --verbose
|
||||||
|
- name: cargo login
|
||||||
|
env: TOKEN:${{ secrets.cratelogin }}
|
||||||
|
run: cargo login TOKEN
|
||||||
- name: publish
|
- name: publish
|
||||||
run: cargo publish --verbose
|
run: cargo publish --verbose
|
||||||
|
Reference in New Issue
Block a user