Skip to content

Commit

Permalink
Adjust publish workflow (#227)
Browse files Browse the repository at this point in the history
* Fix imports

* Update cargo lock

* Avoid publishing useless egobox crate by publishing sub-crates separately

* Update cargo lock to use ndarray 0.15.6 only

* Adjust crates paths

* Patch cargo lock revision to keep 1.74 MSRV
  • Loading branch information
relf authored Jan 3, 2025
1 parent f6e1299 commit 5191e11
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 149 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,26 @@ jobs:
toolchain: stable
override: true

- name: Publish crates
- name: Publish egobox-doe
uses: katyo/publish-crates@v2
path: ./crates/doe
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Publish egobox-gp
uses: katyo/publish-crates@v2
path: ./crates/gp
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Publish egobox-moe
uses: katyo/publish-crates@v2
path: ./crates/moe
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Publish egobox-ego
uses: katyo/publish-crates@v2
path: ./crates/ego
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Loading

0 comments on commit 5191e11

Please sign in to comment.