Merge pull request #43 from KumoCorp/main #8
Workflow file for this run
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: Continuous Delivery | |
| on: | |
| push: | |
| tags: | |
| - '[0-9]+.[0-9]+.[0-9]+' # Trigger when a new tag is pushed following SemVer pattern | |
| jobs: | |
| pre_flight_check: | |
| name: Preflight Checks | |
| uses: ./.github/workflows/ci.yml | |
| publish: | |
| needs: [pre_flight_check] | |
| name: Publish to Crates.io | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Login | |
| run: cargo login ${{ secrets.CRATES_IO_TOKEN }} | |
| - name: Publish | |
| run: cargo publish |