mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Auto-publish to crates.io
This commit is contained in:
parent
169be092bd
commit
8b7990b9a9
2 changed files with 32 additions and 0 deletions
28
.github/workflows/publish.yaml
vendored
Normal file
28
.github/workflows/publish.yaml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: Publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "main"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
name: Publish
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install Rust
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
profile: minimal
|
||||||
|
|
||||||
|
- name: Publish to crates.io
|
||||||
|
uses: katyo/publish-crates@v1
|
||||||
|
with:
|
||||||
|
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
|
ignore-unpublished-changes: true
|
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## `0.1.2` - January 24th, 2023
|
## `0.1.2` - January 24th, 2023
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Added automatic publishing of the Lune library to [crates.io](https://crates.io/crates/lune)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed scripts that terminate instantly sometimes hanging
|
- Fixed scripts that terminate instantly sometimes hanging
|
||||||
|
|
Loading…
Reference in a new issue