Bump ver #5
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
name: Publish to Cargo | |
on: | |
push: | |
tags: | |
- '**[0-9]+.[0-9]+.[0-9]+*' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
name: 'publish' | |
# Reference your environment variables | |
environment: cargo | |
steps: | |
- uses: actions/checkout@master | |
with: | |
# get git tags info | |
fetch-depth: 0 | |
- name: Run publish-action | |
uses: tu6ge/[email protected] | |
env: | |
# This can help you tagging the github repository | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# This can help you publish to crates.io | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |