Release v0.15.0 (#288) #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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} |