File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ tags :
7
+ - ' v[0-9]+.[0-9]+.[0-9]+'
8
+
9
+ jobs :
10
+ publish :
11
+ if : github.repository == 'reiniiriarios/archive-bot' && startsWith(github.ref, 'refs/tags/')
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v3
16
+
17
+ - uses : actions-rs/toolchain@v1
18
+ with :
19
+ toolchain : stable
20
+ override : true
21
+
22
+ - name : Publish crates
23
+ uses : katyo/publish-crates@v1
24
+ with :
25
+ registry-token : ${{ secrets.CRATES_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ version = "0.1.0"
4
4
authors = [
" Emma Litwa-Vulcu <[email protected] >" ]
5
5
repository = " https://github.com/reiniiriarios/archive-bot"
6
6
description = " Slack bot helper for managing outdated channels."
7
+ keywords = [" slack" , " slackbot" , " slack-bot" ]
7
8
license = " GPL-3.0+"
8
9
edition = " 2021"
10
+ exclude = [" /examples" , " /.github" ]
9
11
10
12
[dependencies ]
11
13
chrono = " 0.4.23"
You can’t perform that action at this time.
0 commit comments