rust: Release v0.1.4 #3
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
# | |
# Copyright (c) 2020-2023 Siddharth Chandrasekaran <[email protected]> | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
name: Publish Crates | |
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- 'Rust-v*' # Push events to matching Rust-v*, i.e. Rust-v1.0 | |
- 'Osdpctl-v*' # Push events to matching Osdpctl-v*, i.e. Osdpctl-v1.0 | |
jobs: | |
publish: | |
name: Publish Crate - libosdp | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- uses: katyo/publish-crates@v2 | |
with: | |
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
ignore-unpublished-changes: true |