From 033ab68c04003dd33040d401b6d2398a9d2a6bfb Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 9 Sep 2024 19:48:50 +0200 Subject: [PATCH] ci: added rust publish ci --- .github/workflows/rust.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..21dd796 --- /dev/null +++ b/.github/workflows/rust.yml @@ -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