Skip to content

Commit

Permalink
add release job
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed May 28, 2024
1 parent c5b37e1 commit 00344a8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release-crate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
release:
types: [published]


jobs:
release:
environment: production
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - uses: manoadamro/rust-release@v1
# with:
# owner: ${{ github.repository_owner }}
# repo: ${{ github.repository }}
# token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1 #@v1
with:
toolchain: stable
override: true

- uses: katyo/publish-crates@v2
name: Publish to crates.io
with:
registry-token: ${{ secrets.CRATES_IO_TOKEN }}

0 comments on commit 00344a8

Please sign in to comment.