Skip to content

Release v0.15.0 (#288) #9

Release v0.15.0 (#288)

Release v0.15.0 (#288) #9

# SPDX-FileCopyrightText: Copyright (c) 2017-2024 slowtec GmbH <[email protected]>
# SPDX-License-Identifier: CC0-1.0
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: publish-release
permissions:
contents: read
on:
push:
tags:
# Only match release version tags
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
- name: Publish release on crates.io
env:
API_TOKEN: ${{ secrets.CRATES_IO_PUBLISH_UPDATE_TOKEN }}
run: cargo publish --token ${API_TOKEN}