Testing #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Publish to crates.ioInvalid workflow file
|
||
LIST="${{ join(fromJSON(steps.publish-crates.outputs.published).*.name, ', ')) }}" | ||
echo "Published crates: $LIST" |