Skip to content

Bumped version (#20) #16

Bumped version (#20)

Bumped version (#20) #16

Workflow file for this run

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 }}