Skip to content

Commit

Permalink
Create publish-to-crates.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilo-K committed Oct 26, 2023
1 parent 139ed44 commit daa39d1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish-to-crates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish package to crates
run-name: ${{ github.actor }} is publishing to crates.io
on:
push:
branches:
- master
jobs:
Publish-To-Crates-Io:
runs-on: ubuntu-latest
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 daa39d1

Please sign in to comment.