Skip to content

Commit 51206a3

Browse files
committed
Updated Github CI for publishing
1 parent 5a743ff commit 51206a3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publishing
33
on:
44
push:
55
branches:
6-
- test
6+
- master
77

88

99
jobs:
@@ -21,3 +21,6 @@ jobs:
2121
- run: |
2222
echo "Publishing to crates.io"
2323
cargo login $CRATES_IO
24+
cargo build -r
25+
cargo package
26+
cargo publish

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/target/
22
**/*.rs.bk
33
Cargo.lock
4+
.project

0 commit comments

Comments
 (0)