Skip to content

Update CI with the publishing of local meilisearch-index-setting-macro crate #408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ jobs:
rust-version: stable
- name: Check release validity
run: sh .github/scripts/check-release.sh
- name: Build
- name: Build meilisearch crate
run: cargo build --release
- name: Build meilisearch crate
run: |-
cd meilisearch-index-setting-macro
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this name of directory? meilisearch-index-setting-macro

Copy link
Contributor Author

@bidoubiwa bidoubiwa Dec 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was set like that by the contributor that created the macro. You don't like it? Do you have any suggestion?

Copy link
Contributor

@alallema alallema Dec 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a suggestion but it's not really a clear name, no?

cargo build --release
- name: Login
run: cargo login ${{ secrets.CRATES_TOKEN }}
- name: Publish to crates.io
- name: Publish meilisearch crate to crates.io
run: cargo publish
- name: Publish meilisearch-index-setting-macro crate to crates.io
run: |-
cd meilisearch-index-setting-macro
cargo publish