mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 21:10:36 +00:00
29 lines
572 B
YAML
29 lines
572 B
YAML
|
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
|