Skip to content

dropping bindings

dropping bindings #38

Workflow file for this run

name: Rust - Test & Publish Package
on:
workflow_dispatch:
push:
tags:
- 'v*'
env:
CARGO_TERM_COLOR: always
jobs:
publish:
runs-on: ubuntu-latest
# if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build and Test
working-directory: toolchain
run: |
cargo build --package prompt-graph-core --package prompt-graph-exec --package chidori
cargo test --package prompt-graph-core --package prompt-graph-exec --package chidori
- name: Publish prompt-graph-core
working-directory: toolchain/prompt-graph-core
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish prompt-graph-exec
working-directory: toolchain/prompt-graph-exec
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish chidori
working-directory: toolchain/chidori
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}