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

autorelease #8

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
name: Publish to crates.io
name: Publish

on: workflow_dispatch
on:
release:
types:
- published

permissions:
contents: read

jobs:
publish:
name: Publish
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand All @@ -16,7 +19,7 @@ jobs:
- name: Install Rust Stable
uses: dtolnay/rust-toolchain@stable

- name: Publish
- name: Publish to crates.io
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{secrets.CRATES_IO_PUBLISH}}