mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
21 lines
364 B
YAML
21 lines
364 B
YAML
name: rust
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- stable
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: arduino/setup-protoc@v3
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
- run: cargo publish --locked --token ${{ secrets.CRATES_IO_TOKEN }}
|