From ab9b6fe5feea68ac6d9f1ffb0d6bf37d8d321f3e Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 31 Jul 2025 10:56:54 +0200 Subject: [PATCH] ci: rename ci in test, add release workflow --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ .github/workflows/{ci.yml => test.yml} | 0 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/release.yml rename .github/workflows/{ci.yml => test.yml} (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..7629c3e --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: release + +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' + +env: + CARGO_TERM_COLOR: always + +permissions: + contents: read + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: cargo publish --locked --token ${{ secrets.CRATES_IO_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/test.yml