Bumped version (#24) #17
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 | |
on: | |
push: | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
dry-run: | |
runs-on: ubuntu-latest | |
name: ubuntu / stable / cargo publish --dry-run | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run cargo publish --dry-run | |
run: cargo publish --dry-run --verbose | |
env: | |
CARGO_AUTH_TOKEN: ${{ secrets.CARGO_AUTH_TOKEN }} | |
run: | |
needs: dry-run | |
runs-on: ubuntu-latest | |
name: ubuntu / stable / cargo publish | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run cargo login | |
run: cargo login $CARGO_AUTH_TOKEN | |
env: | |
CARGO_AUTH_TOKEN: ${{ secrets.CARGO_AUTH_TOKEN }} | |
- name: Run cargo publish | |
run: cargo publish --verbose | |
env: | |
CARGO_AUTH_TOKEN: ${{ secrets.CARGO_AUTH_TOKEN }} |