Publish to Creates #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to Creates | |
on: | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --workspace | |
- name: Run tests | |
run: cargo test --workspace | |
- name: Publish to creates | |
run: | | |
cargo publish --token ${{ secrets.CARGO_TOKEN }} --manifest-path creates/rico/Cargo.toml |