Skip to content

A0-3951: Bump clap from 4.5.20 to 4.5.21 in the all-rust-deps group #171

A0-3951: Bump clap from 4.5.20 to 4.5.21 in the all-rust-deps group

A0-3951: Bump clap from 4.5.20 to 4.5.21 in the all-rust-deps group #171

name: Publish to crates.io
on:
push:
branches:
- main
pull_request:
jobs:
publish:
environment: Autobump version
runs-on: ubuntu-latest
if: ${{ github.repository == 'Cardinal-Cryptography/AlephBFT'}}
steps:
- name: Publish
if: ${{ github.event_name == 'push' }}
run:
echo "Publishing crates."
- name: Dry-ryn
if: ${{ github.event_name != 'push' }}
run:
echo "Dry-run - not publishing crates."
- uses: actions/checkout@v4
- uses: ./.github/actions/install-rust-toolchain
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
publish-delay: 30000
dry-run: ${{ github.event_name != 'push' }}