chore: remove dependency on strum (as unused) and bump strum_macros t… #28
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: 2020 HH Partners | |
# | |
# SPDX-License-Identifier: MIT | |
name: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v3 | |
id: release | |
with: | |
release-type: rust | |
package-name: spdx-rs | |
bump-minor-pre-major: true | |
bump-patch-for-minor-pre-major: true | |
pull-request-title-pattern: "chore: release ${version}" | |
- uses: actions/checkout@v2 | |
if: ${{ steps.release.outputs.release_created }} | |
- uses: actions-rs/toolchain@v1 | |
if: ${{ steps.release.outputs.release_created }} | |
with: | |
toolchain: stable | |
override: true | |
- uses: katyo/publish-crates@v1 | |
if: ${{ steps.release.outputs.release_created }} | |
with: | |
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} |