Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
add publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
yayanyang committed Jan 28, 2024
1 parent 817d7ef commit 6ea88d0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,20 @@ jobs:
checksum: md5
# (required) GitHub token for uploading assets to GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}

publish:
runs-on: ubuntu-latest

name: "publish"

environment: cargo

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 6ea88d0

Please sign in to comment.