From 992d7889c46cd4ca8f83619ca0c96cf38acb4f80 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Mon, 27 Dec 2021 13:53:58 -0800 Subject: [PATCH] Automatically publish to crates.io --- .github/workflows/rust.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b0e849f..ea55c26 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,6 +22,9 @@ jobs: - name: Build run: cargo build --release + + - name: Publish to crates.io + run: cargo publish --no-verify --token ${{ secrets.CARGO_REGISTRY_TOKEN }} - uses: actions/upload-artifact@v2.2.1 name: Upload a Build Artifact