diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index bacafb2..bb876e7 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -6,6 +6,22 @@ on: tags: ["v[0-9]+.[0-9]+.[0-9]+*"] jobs: + cratesio-publish: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v2 + + - name: Setup Rust toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + override: true + toolchain: nightly + + - name: Publish to crates.io + run: "cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}" + build-release: runs-on: ${{ matrix.os }} strategy: