.cargo/vendor/moxcms/.github/workflows/publish_release.yml
raw| 1 | name: Create Release |
| 2 | |
| 3 | concurrency: |
| 4 | group: ${{ github.workflow }}-${{ github.ref }} |
| 5 | cancel-in-progress: true |
| 6 | |
| 7 | on: |
| 8 | push: |
| 9 | tags: |
| 10 | - '*' |
| 11 | |
| 12 | jobs: |
| 13 | build_and_publish: |
| 14 | name: Build |
| 15 | runs-on: ubuntu-latest |
| 16 | environment: Cargo |
| 17 | steps: |
| 18 | - uses: actions/checkout@v4 |
| 19 | - uses: actions-rust-lang/setup-rust-toolchain@v1 |
| 20 | - name: Make a release |
| 21 | env: |
| 22 | CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }} |
| 23 | run: cargo publish --manifest-path Cargo.toml |