From 0e133a05c3f2837587b265a25f440a73cc5c0079 Mon Sep 17 00:00:00 2001 From: Oliver Koch Date: Fri, 29 Dec 2023 22:21:20 +0100 Subject: [PATCH] should publish a release to crates.io --- .github/workflows/release.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0af0d5c..5275377 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -134,3 +134,16 @@ jobs: run: | version="${{ needs.create-release.outputs.version }}" gh release upload "$version" ${{ env.ASSET }} ${{ env.ASSET_SUM }} + + publish: + name: Publish to crates.io + needs: build-release + runs-on: ubuntu-latest + + steps: + + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Publish + run: "cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}"