File tree Expand file tree Collapse file tree 2 files changed +46
-2
lines changed
Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Continuous Deployment
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ env :
8+ CARGO_TERM_COLOR : always
9+
10+ jobs :
11+ publish :
12+ name : Publish crates
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+
18+ - name : Install dependencies
19+ run : |
20+ sudo apt-get update
21+ sudo apt-get install -y \
22+ --no-install-recommends \
23+ --allow-unauthenticated \
24+ libasound2-dev
25+
26+ - name : Setup Rust
27+ uses : esp-rs/xtensa-toolchain@v1.5
28+ with :
29+ default : true
30+ buildtargets : esp32
31+ ldproxy : true
32+
33+ - name : Enable caching
34+ uses : Swatinem/rust-cache@v2
35+
36+ - name : Publish crates
37+ env :
38+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
39+ run : |
40+ cargo publish -p ratatui-fretboard
41+ cargo publish -p tuitar-core
42+ cargo publish -p tuitar
43+ cargo publish -p firmware
Original file line number Diff line number Diff line change @@ -15,11 +15,12 @@ repository = "https://github.com/orhun/tuitar"
1515rust-version = " 1.77"
1616
1717[workspace .dependencies ]
18- tuitar-core = { path = " tuitar-core" }
18+ tuitar-core = { path = " tuitar-core" , version = " 0.1.0-rc.0" }
19+ ratatui-fretboard = { path = " ratatui-fretboard" , version = " 0.2.0" }
20+
1921ratatui = { version = " 0.29.0" , default-features = false }
2022tui-big-text = " =0.7.0"
2123pitchy = " 0.1.1"
22- ratatui-fretboard = { path = " ratatui-fretboard" }
2324log = " 0.4"
2425
2526[profile .release ]
You can’t perform that action at this time.
0 commit comments