codemp/.github/workflows/rust.yml

24 lines
426 B
YAML
Raw Normal View History

2024-09-09 19:48:50 +02:00
name: rust
on:
push:
tags:
- 'v*.*.*'
2024-09-09 19:48:50 +02:00
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 }}
2024-09-09 19:53:19 +02:00
- uses: actions/checkout@v4
2024-09-09 19:48:50 +02:00
- uses: dtolnay/rust-toolchain@stable
2024-09-10 02:07:15 +02:00
- run: cargo publish --locked --token ${{ secrets.CRATES_IO_TOKEN }}