Skip to content

A0-3951: Bump the all-rust-deps group across 1 directory with 6 updates #177

A0-3951: Bump the all-rust-deps group across 1 directory with 6 updates

A0-3951: Bump the all-rust-deps group across 1 directory with 6 updates #177

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