codemp/.github/workflows/rust.yml

24 lines
441 B
YAML
Raw Permalink Normal View History

2024-09-09 19:48:50 +02:00
name: rust
on:
push:
tags:
2024-11-17 14:40:39 +01:00
- 'v[0-9]+.[0-9]+.[0-9]+'
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 }}