Skip to content

Move response logic out of runway (#496) #161

Move response logic out of runway (#496)

Move response logic out of runway (#496) #161

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