ci: added rust publish ci

This commit is contained in:
əlemi 2024-09-09 19:48:50 +02:00
parent ad86c7b372
commit 033ab68c04
Signed by: alemi
GPG key ID: A4895B84D311642C

22
.github/workflows/rust.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: rust
on:
push:
branches:
- ci
- stable
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: arduino/setup-protoc@v3
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo publish