Skip to content

Commit

Permalink
should publish a release to crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
oltoko committed Dec 29, 2023
1 parent ce68b7e commit 0e133a0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 0e133a0

Please sign in to comment.