Release #51
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
name: Release | |
on: | |
workflow_run: | |
workflows: [CI] | |
types: [completed] | |
branches: [master] | |
workflow_dispatch: {} | |
# Only allow one release workflow to execute at a time, since each release | |
# workflow uses shared resources (git tags, package registries) | |
concurrency: | |
group: ${{ github.workflow }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.REPO_SCOPED_TOKEN }} | |
- uses: dtolnay/[email protected] | |
- uses: cycjimmy/semantic-release-action@v3 | |
with: | |
extra_plugins: | | |
@semantic-release/changelog | |
@semantic-release/git | |
@semantic-release/github | |
@semantic-release-cargo/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }} | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |