-
Notifications
You must be signed in to change notification settings - Fork 12
34 lines (26 loc) · 879 Bytes
/
publish.yml
File metadata and controls
34 lines (26 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Publish to crates.io
on:
push:
tags:
- "v*"
env:
CARGO_TERM_COLOR: always
jobs:
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Publish rmrfrs-lib to crates.io
run: cargo publish --manifest-path rmrfrs-lib/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish rmrfrs to crates.io
run: cargo publish --manifest-path rmrfrs/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish rmrfrs-ui to crates.io
run: cargo publish --manifest-path rmrfrs-ui/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }}