File tree Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : cargo
4+ directory : " /"
5+ schedule :
6+ interval : daily
7+ time : " 12:00"
8+ open-pull-requests-limit : 10
Original file line number Diff line number Diff line change 3737
3838 - name : ${{ matrix.name }}
3939 run : |
40- cd ${{ matrix.folder }} && cargo clean && cargo update && cargo build ${{ matrix.opts }}
40+ cargo clean && cargo update && cargo build ${{ matrix.opts }}
4141
4242 tests :
4343 name : Tests
Original file line number Diff line number Diff line change 2424 run : cargo build --all-features
2525 - name : Run tests
2626 run : cargo test --all-features --verbose
27+
28+ release :
29+ name : Release
30+ runs-on : ubuntu-latest
31+ needs : [build]
32+ if : github.ref_type == 'tag'
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v4
36+ - name : Install stable toolchain
37+ uses : dtolnay/rust-toolchain@master
38+ with :
39+ toolchain : stable
40+ - name : Publish
41+ env :
42+ TOKEN : ${{ secrets.CRATES_IO_TOKEN }}
43+ run : |
44+ cargo login $TOKEN
45+ cargo publish
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ Cargo.lock
2020# option (not recommended) you can uncomment the following to ignore the entire idea folder.
2121# .idea/
2222
23- qc /.cache
24-
2523* .swo
2624* .swp
25+ .cache
You can’t perform that action at this time.
0 commit comments