Skip to content

Commit

Permalink
No longer cargo publish dry-run the light and full nodes (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka authored Aug 10, 2023
1 parent ab176ac commit 847be4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ jobs:
- uses: actions/checkout@v3
- run: cargo publish --dry-run --locked
working-directory: ./lib
- run: cargo publish --dry-run --locked
working-directory: ./light-base
- run: cargo publish --dry-run --locked
working-directory: ./full-node
# Note that no dry run is performed for the crates that have dependencies towards the
# library, as `cargo publish --dry-run` tries to build them against the version on
# `crates.io`, which causes build failures if its public API has changed.
# TODO: is there a way to solve that? ^
- run: cargo login ${{ secrets.CRATES_IO_TOKEN }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
- run: cargo publish --no-verify
Expand Down

0 comments on commit 847be4a

Please sign in to comment.