Skip to content

Testing

Testing #158

name: Publish to crates.io
on:
push:
branches:
- main
- fix-crate-publishing-workflow
jobs:
publish:
environment: Autobump version
runs-on: ubuntu-latest
if: ${{ github.repository == 'Cardinal-Cryptography/AlephBFT'}}
steps:
- 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: true
- name: if my-crate published
if: fromJSON(steps.publish-crates.outputs.published).*
run: |

Check failure on line 25 in .github/workflows/publish-packages.yml

View workflow run for this annotation

GitHub Actions / Publish to crates.io

Invalid workflow file

The workflow is not valid. .github/workflows/publish-packages.yml (Line: 25, Col: 14): Unexpected symbol: ')'. Located at position 68 within expression: join(fromJSON(steps.publish-crates.outputs.published).*.name, ', '))
LIST="${{ join(fromJSON(steps.publish-crates.outputs.published).*.name, ', ')) }}"
echo "Published crates: $LIST"