File tree Expand file tree Collapse file tree 3 files changed +57
-24
lines changed Expand file tree Collapse file tree 3 files changed +57
-24
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ publish :
13+ name : Publish
14+ runs-on : ubuntu-latest
15+ continue-on-error : true
16+ if : github.ref_type == 'tag'
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
21+ - name : Install stable
22+ uses : actions-rs/toolchain@v1
23+ with :
24+ toolchain : stable
25+
26+ - name : Publish
27+ env :
28+ TOKEN : ${{ secrets.CRATES_IO_TOKEN }}
29+ run : |
30+ cargo login $TOKEN
31+ cargo publish --allow-dirty
32+
33+ release :
34+ runs-on : ubuntu-latest
35+ needs : ['publish']
36+ steps :
37+ - name : Create Release
38+ id : create_release
39+ env :
40+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ uses : actions/create-release@v1
42+ with :
43+ draft : true
44+ tag_name : ${{ github.ref_name }}
45+ release_name : ${{ github.ref_name }}
Original file line number Diff line number Diff line change 4040
4141 - name : Run tests
4242 run : cargo test --all-features
43-
44- release :
45- name : Release
46- runs-on : ubuntu-latest
47- needs : ['build']
48- if : github.ref_type == 'tag'
49- steps :
50- - name : Checkout
51- uses : actions/checkout@v4
52- with :
53- submodules : recursive
54- fetch-depth : 0
55-
56- - name : Install stable toolchain
57- uses : dtolnay/rust-toolchain@master
58- with :
59- toolchain : stable
60-
61- - name : Publish
62- env :
63- TOKEN : ${{ secrets.CRATES_IO_TOKEN }}
64- run : |
65- cargo login $TOKEN
66- cargo publish --allow-dirty
Original file line number Diff line number Diff line change 22#![ doc = include_str ! ( "../README.md" ) ]
33#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
44
5+ /*
6+ * GNSS-Qc is part of the rtk-rs framework.
7+ * Authors: Guillaume W. Bres <[email protected] > et al. 8+ * (cf. https://github.com/rtk-rs/gnss-qc/graphs/contributors)
9+ * This framework is shipped under Mozilla Public V2 license.
10+ *
11+ * Documentation:
12+ * - https://github.com/rtk-rs/gnss-qc
13+ * - https://github.com/rtk-rs/rinex
14+ * - https://github.com/rtk-rs/sp3
15+ */
16+
517#[ macro_use]
618extern crate log;
719
You can’t perform that action at this time.
0 commit comments