-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated to a workspace and added caching
- Loading branch information
Showing
8 changed files
with
39 additions
and
80 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish: | ||
name: Publish to crates.io | ||
|
||
runs-on: ubuntu-latest | ||
needs: release-please | ||
if: needs.release-please.outputs.created | ||
|
||
environment: crates.io | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: swatinem/rust-cache@v2 | ||
|
||
- name: Publish | ||
# https://doc.rust-lang.org/cargo/reference/config.html?highlight=CARGO_REGISTRY_TOKEN#credentials | ||
run: > | ||
cargo workspaces publish | ||
--verbose | ||
--allow-branch * | ||
--token ${{ secrets.CARGO_REGISTRY_TOKEN }} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[workspace] | ||
members = ["instruct-macros-types", "instruct-macros", "instructor"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "instruct-macros-types" | ||
version = "0.1.2" | ||
version = "0.1.6" | ||
edition = "2021" | ||
authors = ["Ivan Leo <[email protected]>"] | ||
description = "Instructor Macro Types are a collection of simple types that we export to work with the instruct-macros crate" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "instruct-macros" | ||
version = "0.1.1" | ||
version = "0.1.6" | ||
edition = "2018" | ||
authors = ["Ivan Leo <[email protected]>"] | ||
description = "instruct-macros are a collection of simple macros that we're using in Instructor-AI to generate json schema from Serde Objects" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "instructor-ai" | ||
version = "0.1.0" | ||
version = "0.1.6" | ||
edition = "2021" | ||
authors = ["Ivan Leo <[email protected]>"] | ||
description = "instructor-ai is a simple crate that allows for users to do validated structured outputs" | ||
|