ci: added checklist validator #19
This file contains hidden or 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: Publishing | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| uses: ./.github/workflows/test.yml | |
| publish: | |
| name: Publish the client to the public registry | |
| needs: test | |
| runs-on: ubuntu-latest | |
| env: | |
| CRATES_IO: ${{ secrets.CRATES_IO }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: | | |
| echo "Publishing to crates.io" | |
| cargo login $CRATES_IO | |
| cargo build -r | |
| cargo package | |
| cargo publish |